X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ext%2Fprotobuf%2Fapi.proto;fp=ext%2Fprotobuf%2Fapi.proto;h=bb5127534c9ae112ab459bfdc8189eadef734fc0;hb=05b943879d8e01e5edf28db6ae1e2a8dceb9c46b;hp=0000000000000000000000000000000000000000;hpb=95e67b4fdf339209454b05fdd845ce299f78ae61;p=ric-app%2Fts.git diff --git a/ext/protobuf/api.proto b/ext/protobuf/api.proto new file mode 100644 index 0000000..bb51275 --- /dev/null +++ b/ext/protobuf/api.proto @@ -0,0 +1,60 @@ +syntax = "proto3"; +package api; + +enum RICControlCellTypeEnum { + + RIC_CONTROL_CELL_UNKWON = 0; + RIC_CONTROL_NR_CELL = 1; // Indicates RIC Controls should be set for NR CELL + RIC_CONTROL_EUTRAN_CELL = 2; // Indicates RIC Controls should be set for E_UTRAN CELL +} + +enum RICControlAckEnum { + + RIC_CONTROL_ACK_UNKWON = 0; + RIC_CONTROL_NO_ACK = 1; // Optional RIC Control Acknowledgement is not required + RIC_CONTROL_ACK = 2; // Optional RIC Control Acknowledgement is required + RIC_CONTROL_NACK = 3; // Optional RIC Control Acknowledgement is only required to report failure +} + +message RICE2APHeader { + int64 RanFuncId = 1; + int64 RICRequestorID = 2; +} + +message RICControlHeader { + int64 ControlStyle = 1; + int64 ControlActionId = 2; + string UEID = 3; +} + + +message RICControlMessage { + RICControlCellTypeEnum RICControlCellTypeVal = 1; + string TargetCellID = 2; + +} + +//RicControl GRPC Req +message RicControlGrpcReq { + string e2NodeID = 1; + string plmnID = 2; + string ranName = 3; + RICE2APHeader RICE2APHeaderData = 4; + RICControlHeader RICControlHeaderData = 5; + RICControlMessage RICControlMessageData = 6; + RICControlAckEnum RICControlAckReqVal = 7; //Currently this Parameter is not Encoded as Part of RIC Control message +} + +//RicControlGrpc Rsp +message RicControlGrpcRsp { + int32 rspCode = 1; //Set rspCode to 0. Acknowledging the receipt of GRPC request + string description = 2; //Set despcription. +} + +// Services to send gRPC +service MsgComm { + //gRPC call to Send RICControlReqServiceGrpc + rpc SendRICControlReqServiceGrpc(RicControlGrpcReq) returns (RicControlGrpcRsp); +} + +