[ISSUE-ID] : RICAPP-202 upgrading protofile and modified NodebHandler to build CELL...
[ric-app/ts.git] / ext / protobuf / rc.proto
1 syntax = "proto3";
2 package rc;
3
4 enum RICControlCellTypeEnum {
5  
6     RIC_CONTROL_CELL_UNKWON = 0; 
7     RIC_CONTROL_NR_CELL = 1;            // Indicates RIC Controls should be set for NR CELL
8     RIC_CONTROL_EUTRAN_CELL = 2;    // Indicates RIC Controls should be set for E_UTRAN CELL
9 }
10
11 enum RICControlAckEnum {
12  
13     RIC_CONTROL_ACK_UNKWON = 0; 
14     RIC_CONTROL_NO_ACK = 1; // Optional RIC Control Acknowledgement is not required
15     RIC_CONTROL_ACK = 2;    // Optional RIC Control Acknowledgement is required
16     RIC_CONTROL_NACK = 3;   // Optional RIC Control Acknowledgement is only required to report failure
17 }
18
19 message RICE2APHeader  {
20         int64          RanFuncId = 1;
21         int64          RICRequestorID = 2;
22 }
23
24 message RICControlHeader {
25         int64           ControlStyle = 1;
26         int64           ControlActionId = 2;
27         UeId            UEID = 3;
28 }
29
30 message UeId {
31         gNBUEID         GnbUEID = 1;
32 }
33
34 message gNBUEID {
35         int64           amfUENGAPID = 1;
36         Guami           guami = 2;
37         repeated int64  gNBCUUEF1APID = 3;
38         repeated int64  gNBCUCPUEE1APID = 4;
39 }
40
41 message Guami {
42         string          pLMNIdentity = 1;
43         string          aMFRegionID  = 2;
44         string          aMFSetID     = 3;
45         string          aMFPointer   = 4;
46 }
47
48 message RICControlMessage {
49         RICControlCellTypeEnum    RICControlCellTypeVal = 1;
50         string                    TargetCellID = 2;
51                 
52 }
53
54 //RicControl GRPC Req  
55 message RicControlGrpcReq {
56         string              e2NodeID = 1;
57         string              plmnID = 2;
58         string              ranName = 3;
59         RICE2APHeader       RICE2APHeaderData = 4;
60         RICControlHeader    RICControlHeaderData = 5;
61         RICControlMessage   RICControlMessageData = 6;
62         RICControlAckEnum   RICControlAckReqVal = 7; //Currently this Parameter is not Encoded as Part of RIC Control message
63 }
64
65 //RicControlGrpc Rsp
66 message RicControlGrpcRsp {
67     int32   rspCode = 1;       //Set rspCode to 0. Acknowledging the receipt of GRPC request
68     string  description = 2;   //Set despcription.
69 }
70
71 // Services to send gRPC
72 service MsgComm {
73     //gRPC call to Send RICControlReqServiceGrpc
74     rpc SendRICControlReqServiceGrpc(RicControlGrpcReq) returns (RicControlGrpcRsp);
75 }
76
77
78