blob: dfd76c410eaf2307b5fae738ef7f382deeaae6b6 [file] [log] [blame]
ss412g286ce412019-07-04 14:00:29 +03001syntax = "proto3";
2package entities;
3import "gnb.proto";
4import "enb.proto";
5import "x2_setup_failure_response.proto";
6import "nb_identity.proto";
7
is005qd51567d2019-08-25 14:19:31 +03008message NodebInfo {
ss412g286ce412019-07-04 14:00:29 +03009 string ran_name = 1;
10 string ip = 2;
11 uint32 port = 3;
is005qd51567d2019-08-25 14:19:31 +030012 E2ApplicationProtocol e2_application_protocol = 4;
13 ConnectionStatus connection_status = 5;
14 uint32 connection_attempts = 6;
15 GlobalNbId global_nb_id = 7;
16 Node.Type node_type = 8;
17 oneof configuration {
18 Enb enb = 9;
19 Gnb gnb = 10;
ss412g286ce412019-07-04 14:00:29 +030020 }
is005qd51567d2019-08-25 14:19:31 +030021 Failure.Type failure_type = 11;
22 SetupFailure setup_failure = 12;
ss412g286ce412019-07-04 14:00:29 +030023}
24
is005qd51567d2019-08-25 14:19:31 +030025enum E2ApplicationProtocol {
is005q7c64c2f2019-08-25 16:42:25 +030026 UNKNOWN_E2_APPLICATION_PROTOCOL = 0;
is005qd51567d2019-08-25 14:19:31 +030027 X2_SETUP_REQUEST = 1;
28 ENDC_X2_SETUP_REQUEST = 2;
29}
30
31enum ConnectionStatus {
ss412g286ce412019-07-04 14:00:29 +030032 UNKNOWN_CONNECTION_STATUS = 0;
33 CONNECTED = 1;
ib565x96ee0082019-08-01 11:57:22 +030034 DISCONNECTED = 2;
ss412g286ce412019-07-04 14:00:29 +030035 CONNECTED_SETUP_FAILED = 3;
36 CONNECTING = 4;
ns019tc4b29bf2019-07-28 17:48:14 +030037 SHUTTING_DOWN = 5;
38 SHUT_DOWN = 6;
ss412g286ce412019-07-04 14:00:29 +030039}
40
is005qd51567d2019-08-25 14:19:31 +030041message Node {
42 enum Type {
ss412g286ce412019-07-04 14:00:29 +030043 UNKNOWN = 0;
44 ENB = 1;
45 GNB = 2;
46 }
47}
48
is005qd51567d2019-08-25 14:19:31 +030049message Failure {
50 enum Type {
ss412g286ce412019-07-04 14:00:29 +030051 UNKNOWN_TYPE = 0;
52 X2_SETUP_FAILURE = 1;
53 ENDC_X2_SETUP_FAILURE = 2;
54 }
55}