ss412g | 1acbc2c | 2019-11-12 19:34:17 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 AT&T Intellectual Property |
| 3 | * Copyright 2019 Nokia |
Gunja Rastogi | f612a00 | 2023-08-07 12:09:59 +0000 | [diff] [blame^] | 4 | * Copyright 2023 Capgemini |
ss412g | 1acbc2c | 2019-11-12 19:34:17 +0200 | [diff] [blame] | 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | |
nm755n | 31ed787 | 2019-11-28 16:57:55 +0000 | [diff] [blame] | 19 | /* |
| 20 | * This source code is part of the near-RT RIC (RAN Intelligent Controller) |
| 21 | * platform project (RICP). |
| 22 | */ |
| 23 | |
| 24 | |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 25 | syntax = "proto3"; |
| 26 | package entities; |
| 27 | import "gnb.proto"; |
| 28 | import "enb.proto"; |
| 29 | import "x2_setup_failure_response.proto"; |
| 30 | import "nb_identity.proto"; |
dhirajverma | 651d3e8 | 2022-05-18 02:15:45 -0400 | [diff] [blame] | 31 | 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] | 32 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 33 | message NodebInfo { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 34 | string ran_name = 1; |
| 35 | string ip = 2; |
| 36 | uint32 port = 3; |
| 37 | E2ApplicationProtocol e2_application_protocol = 4; |
| 38 | ConnectionStatus connection_status = 5; |
| 39 | GlobalNbId global_nb_id = 6; |
| 40 | Node.Type node_type = 7; |
| 41 | oneof configuration { |
| 42 | Enb enb = 8; |
| 43 | Gnb gnb = 9; |
| 44 | } |
| 45 | Failure.Type failure_type = 10; |
| 46 | SetupFailure setup_failure = 11; |
| 47 | string associated_e2t_instance_address = 12; |
Amichai | 4faef77 | 2020-07-21 09:47:05 +0000 | [diff] [blame] | 48 | bool setup_from_network = 13; |
dhirajverma | 651d3e8 | 2022-05-18 02:15:45 -0400 | [diff] [blame] | 49 | uint64 status_update_time_stamp = 14; |
Gunja Rastogi | f612a00 | 2023-08-07 12:09:59 +0000 | [diff] [blame^] | 50 | string gnb_node_type = 15; |
| 51 | string cu_up_id = 16; |
| 52 | string du_id = 17; |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 53 | } |
| 54 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 55 | enum E2ApplicationProtocol { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 56 | UNKNOWN_E2_APPLICATION_PROTOCOL = 0; |
| 57 | X2_SETUP_REQUEST = 1; |
| 58 | ENDC_X2_SETUP_REQUEST = 2; |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 59 | } |
| 60 | |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 61 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 62 | message Node { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 63 | enum Type { |
| 64 | UNKNOWN = 0; |
| 65 | ENB = 1; |
| 66 | GNB = 2; |
| 67 | } |
ss412g | 286ce41 | 2019-07-04 14:00:29 +0300 | [diff] [blame] | 68 | } |
| 69 | |
is005q | d51567d | 2019-08-25 14:19:31 +0300 | [diff] [blame] | 70 | message Failure { |
idanshal | 1c89417 | 2020-07-09 08:51:23 +0000 | [diff] [blame] | 71 | enum Type { |
| 72 | UNKNOWN_TYPE = 0; |
| 73 | X2_SETUP_FAILURE = 1; |
| 74 | ENDC_X2_SETUP_FAILURE = 2; |
| 75 | } |
dhirajverma | 651d3e8 | 2022-05-18 02:15:45 -0400 | [diff] [blame] | 76 | } |