ss412g | 1acbc2c | 2019-11-12 19:34:17 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2019 AT&T Intellectual Property |
| 3 | * Copyright 2019 Nokia |
| 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 18 | syntax = "proto3"; |
| 19 | package entities; |
| 20 | import "gnb.proto"; |
| 21 | import "enb.proto"; |
| 22 | import "x2_setup_failure_response.proto"; |
| 23 | import "nb_identity.proto"; |
| 24 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 25 | message NodebInfo { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 26 | string ran_name = 1; |
| 27 | string ip = 2; |
| 28 | uint32 port = 3; |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 29 | E2ApplicationProtocol e2_application_protocol = 4; |
| 30 | ConnectionStatus connection_status = 5; |
| 31 | uint32 connection_attempts = 6; |
| 32 | GlobalNbId global_nb_id = 7; |
| 33 | Node.Type node_type = 8; |
| 34 | oneof configuration { |
| 35 | Enb enb = 9; |
| 36 | Gnb gnb = 10; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 37 | } |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 38 | Failure.Type failure_type = 11; |
| 39 | SetupFailure setup_failure = 12; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 40 | } |
| 41 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 42 | enum E2ApplicationProtocol { |
is005q | 7c64c2f | 2019-08-25 16:42:25 +0300 | [diff] [blame] | 43 | UNKNOWN_E2_APPLICATION_PROTOCOL = 0; |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 44 | X2_SETUP_REQUEST = 1; |
| 45 | ENDC_X2_SETUP_REQUEST = 2; |
| 46 | } |
| 47 | |
| 48 | enum ConnectionStatus { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 49 | UNKNOWN_CONNECTION_STATUS = 0; |
| 50 | CONNECTED = 1; |
ib565x | 96ee008 | 2019-08-01 11:57:22 +0300 | [diff] [blame] | 51 | DISCONNECTED = 2; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 52 | CONNECTED_SETUP_FAILED = 3; |
| 53 | CONNECTING = 4; |
ns019t | c4b29bf | 2019-07-28 17:48:14 +0300 | [diff] [blame] | 54 | SHUTTING_DOWN = 5; |
| 55 | SHUT_DOWN = 6; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 56 | } |
| 57 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 58 | message Node { |
| 59 | enum Type { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 60 | UNKNOWN = 0; |
| 61 | ENB = 1; |
| 62 | GNB = 2; |
| 63 | } |
| 64 | } |
| 65 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 66 | message Failure { |
| 67 | enum Type { |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 68 | UNKNOWN_TYPE = 0; |
| 69 | X2_SETUP_FAILURE = 1; |
| 70 | ENDC_X2_SETUP_FAILURE = 2; |
| 71 | } |
| 72 | } |