upload nodeb rnib reader version 1.0.5
[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 }
30
31 message Node{
32     enum Type{
33         UNKNOWN = 0;
34         ENB = 1;
35         GNB = 2;
36     }
37 }
38
39 message Failure{
40     enum Type{
41         UNKNOWN_TYPE = 0;
42         X2_SETUP_FAILURE = 1;
43         ENDC_X2_SETUP_FAILURE = 2;
44     }
45 }