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 | |
nm755n | 31ed787 | 2019-11-28 16:57:55 +0000 | [diff] [blame] | 18 | /* |
| 19 | * This source code is part of the near-RT RIC (RAN Intelligent Controller) |
| 20 | * platform project (RICP). |
| 21 | */ |
| 22 | |
| 23 | |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 24 | syntax = "proto3"; |
| 25 | package entities; |
| 26 | import "gnb.proto"; |
| 27 | import "enb.proto"; |
| 28 | import "x2_setup_failure_response.proto"; |
| 29 | import "nb_identity.proto"; |
dhirajverma | 651d3e8 | 2022-05-18 02:15:45 -0400 | [diff] [blame^] | 30 | option go_package = "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib/entities"; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 31 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 32 | message NodebInfo { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 33 | string ran_name = 1; |
| 34 | string ip = 2; |
| 35 | uint32 port = 3; |
| 36 | E2ApplicationProtocol e2_application_protocol = 4; |
| 37 | ConnectionStatus connection_status = 5; |
| 38 | GlobalNbId global_nb_id = 6; |
| 39 | Node.Type node_type = 7; |
| 40 | oneof configuration { |
| 41 | Enb enb = 8; |
| 42 | Gnb gnb = 9; |
| 43 | } |
| 44 | Failure.Type failure_type = 10; |
| 45 | SetupFailure setup_failure = 11; |
| 46 | string associated_e2t_instance_address = 12; |
Amichai | 4faef77 | 2020-07-21 09:47:05 +0000 | [diff] [blame] | 47 | bool setup_from_network = 13; |
dhirajverma | 651d3e8 | 2022-05-18 02:15:45 -0400 | [diff] [blame^] | 48 | uint64 status_update_time_stamp = 14; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 49 | } |
| 50 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 51 | enum E2ApplicationProtocol { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 52 | UNKNOWN_E2_APPLICATION_PROTOCOL = 0; |
| 53 | X2_SETUP_REQUEST = 1; |
| 54 | ENDC_X2_SETUP_REQUEST = 2; |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 55 | } |
| 56 | |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 57 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 58 | message Node { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 59 | enum Type { |
| 60 | UNKNOWN = 0; |
| 61 | ENB = 1; |
| 62 | GNB = 2; |
| 63 | } |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 64 | } |
| 65 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 66 | message Failure { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 67 | enum Type { |
| 68 | UNKNOWN_TYPE = 0; |
| 69 | X2_SETUP_FAILURE = 1; |
| 70 | ENDC_X2_SETUP_FAILURE = 2; |
| 71 | } |
dhirajverma | 651d3e8 | 2022-05-18 02:15:45 -0400 | [diff] [blame^] | 72 | } |