blob: 9ca502da12bf69f5f9b7c6e11c038d5cb72dcc93 [file] [log] [blame]
ss412g1acbc2c2019-11-12 19:34:17 +02001/*
2 * Copyright 2019 AT&T Intellectual Property
3 * Copyright 2019 Nokia
Gunja Rastogif612a002023-08-07 12:09:59 +00004 * Copyright 2023 Capgemini
ss412g1acbc2c2019-11-12 19:34:17 +02005 *
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
nm755n31ed7872019-11-28 16:57:55 +000019/*
20 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
21 * platform project (RICP).
22 */
23
24
ss412g286ce412019-07-04 14:00:29 +030025syntax = "proto3";
26package entities;
27import "gnb.proto";
28import "enb.proto";
29import "x2_setup_failure_response.proto";
30import "nb_identity.proto";
dhirajverma651d3e82022-05-18 02:15:45 -040031option go_package = "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib/entities";
ss412g286ce412019-07-04 14:00:29 +030032
is005qd51567d2019-08-25 14:19:31 +030033message NodebInfo {
idanshal1c894172020-07-09 08:51:23 +000034 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;
Amichai4faef772020-07-21 09:47:05 +000048 bool setup_from_network = 13;
dhirajverma651d3e82022-05-18 02:15:45 -040049 uint64 status_update_time_stamp = 14;
Gunja Rastogif612a002023-08-07 12:09:59 +000050 string gnb_node_type = 15;
51 string cu_up_id = 16;
52 string du_id = 17;
ss412g286ce412019-07-04 14:00:29 +030053}
54
is005qd51567d2019-08-25 14:19:31 +030055enum E2ApplicationProtocol {
idanshal1c894172020-07-09 08:51:23 +000056 UNKNOWN_E2_APPLICATION_PROTOCOL = 0;
57 X2_SETUP_REQUEST = 1;
58 ENDC_X2_SETUP_REQUEST = 2;
is005qd51567d2019-08-25 14:19:31 +030059}
60
ss412g286ce412019-07-04 14:00:29 +030061
is005qd51567d2019-08-25 14:19:31 +030062message Node {
idanshal1c894172020-07-09 08:51:23 +000063 enum Type {
64 UNKNOWN = 0;
65 ENB = 1;
66 GNB = 2;
67 }
ss412g286ce412019-07-04 14:00:29 +030068}
69
is005qd51567d2019-08-25 14:19:31 +030070message Failure {
idanshal1c894172020-07-09 08:51:23 +000071 enum Type {
72 UNKNOWN_TYPE = 0;
73 X2_SETUP_FAILURE = 1;
74 ENDC_X2_SETUP_FAILURE = 2;
75 }
dhirajverma651d3e82022-05-18 02:15:45 -040076}