ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 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 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 8 | message NodebInfo { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 9 | string ran_name = 1; |
| 10 | string ip = 2; |
| 11 | uint32 port = 3; |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 12 | 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; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 20 | } |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 21 | Failure.Type failure_type = 11; |
| 22 | SetupFailure setup_failure = 12; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 23 | } |
| 24 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 25 | enum E2ApplicationProtocol { |
is005q | 7c64c2f | 2019-08-25 16:42:25 +0300 | [diff] [blame] | 26 | UNKNOWN_E2_APPLICATION_PROTOCOL = 0; |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 27 | X2_SETUP_REQUEST = 1; |
| 28 | ENDC_X2_SETUP_REQUEST = 2; |
| 29 | } |
| 30 | |
| 31 | enum ConnectionStatus { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 32 | UNKNOWN_CONNECTION_STATUS = 0; |
| 33 | CONNECTED = 1; |
ib565x | 96ee008 | 2019-08-01 11:57:22 +0300 | [diff] [blame] | 34 | DISCONNECTED = 2; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 35 | CONNECTED_SETUP_FAILED = 3; |
| 36 | CONNECTING = 4; |
ns019t | c4b29bf | 2019-07-28 17:48:14 +0300 | [diff] [blame] | 37 | SHUTTING_DOWN = 5; |
| 38 | SHUT_DOWN = 6; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 39 | } |
| 40 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 41 | message Node { |
| 42 | enum Type { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 43 | UNKNOWN = 0; |
| 44 | ENB = 1; |
| 45 | GNB = 2; |
| 46 | } |
| 47 | } |
| 48 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 49 | message Failure { |
| 50 | enum Type { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 51 | UNKNOWN_TYPE = 0; |
| 52 | X2_SETUP_FAILURE = 1; |
| 53 | ENDC_X2_SETUP_FAILURE = 2; |
| 54 | } |
| 55 | } |