4185292cca6571c9e242820227cebf17b29fbdd8
[ric-plt/nodeb-rnib.git] / entities / nodeb_info.proto
1 syntax = "proto3";
2 package entities;
3 import "gnb.proto";
4 import "enb.proto";
5 import "x2_setup_failure_response.proto";
6 import "nb_identity.proto";
7
8 message NodebInfo{
9     string ran_name = 1;
10     string ip = 2;
11     uint32 port = 3;
12     ConnectionStatus connection_status = 4;
13     GlobalNbId global_nb_id = 5;
14     Node.Type node_type = 6;
15     oneof configuration{
16         Enb enb = 7;
17         Gnb gnb = 8;
18     }
19     Failure.Type failure_type = 9;
20     SetupFailure setup_failure = 10;
21 }
22
23 enum ConnectionStatus{
24     UNKNOWN_CONNECTION_STATUS = 0;
25     CONNECTED = 1;
26     NOT_CONNECTED = 2;
27     CONNECTED_SETUP_FAILED = 3;
28     CONNECTING = 4;
29     SHUTTING_DOWN = 5;
30     SHUT_DOWN = 6;
31 }
32
33 message Node{
34     enum Type{
35         UNKNOWN = 0;
36         ENB = 1;
37         GNB = 2;
38     }
39 }
40
41 message Failure{
42     enum Type{
43         UNKNOWN_TYPE = 0;
44         X2_SETUP_FAILURE = 1;
45         ENDC_X2_SETUP_FAILURE = 2;
46     }
47 }