X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=entities%2Fnodeb_info.proto;fp=entities%2Fnodeb_info.proto;h=a8e41234a651c1a04bfe416a7925b912dba99b9c;hb=286ce41c7d5049e688a40f68e4c6681a645add3d;hp=0000000000000000000000000000000000000000;hpb=e8b074b74616674d29327d306f88cca56ffd0ae2;p=ric-plt%2Fnodeb-rnib.git diff --git a/entities/nodeb_info.proto b/entities/nodeb_info.proto new file mode 100644 index 0000000..a8e4123 --- /dev/null +++ b/entities/nodeb_info.proto @@ -0,0 +1,45 @@ +syntax = "proto3"; +package entities; +import "gnb.proto"; +import "enb.proto"; +import "x2_setup_failure_response.proto"; +import "nb_identity.proto"; + +message NodebInfo{ + string ran_name = 1; + string ip = 2; + uint32 port = 3; + ConnectionStatus connection_status = 4; + GlobalNbId global_nb_id = 5; + Node.Type node_type = 6; + oneof configuration{ + Enb enb = 7; + Gnb gnb = 8; + } + Failure.Type failure_type = 9; + SetupFailure setup_failure = 10; +} + +enum ConnectionStatus{ + UNKNOWN_CONNECTION_STATUS = 0; + CONNECTED = 1; + NOT_CONNECTED = 2; + CONNECTED_SETUP_FAILED = 3; + CONNECTING = 4; +} + +message Node{ + enum Type{ + UNKNOWN = 0; + ENB = 1; + GNB = 2; + } +} + +message Failure{ + enum Type{ + UNKNOWN_TYPE = 0; + X2_SETUP_FAILURE = 1; + ENDC_X2_SETUP_FAILURE = 2; + } +}