X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=entities%2Fnodeb_info.proto;h=9ca502da12bf69f5f9b7c6e11c038d5cb72dcc93;hb=refs%2Ftags%2Fentities%2Fv1.2.9;hp=192cc640ad57fa6c9b770d77968ac0fb27ebae7c;hpb=d51567df6a3be905b6192d5571e04a966aa72ea5;p=ric-plt%2Fnodeb-rnib.git diff --git a/entities/nodeb_info.proto b/entities/nodeb_info.proto index 192cc64..9ca502d 100644 --- a/entities/nodeb_info.proto +++ b/entities/nodeb_info.proto @@ -1,55 +1,76 @@ +/* + * Copyright 2019 AT&T Intellectual Property + * Copyright 2019 Nokia + * Copyright 2023 Capgemini + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). + */ + + syntax = "proto3"; package entities; import "gnb.proto"; import "enb.proto"; import "x2_setup_failure_response.proto"; import "nb_identity.proto"; +option go_package = "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib/entities"; message NodebInfo { - string ran_name = 1; - string ip = 2; - uint32 port = 3; - E2ApplicationProtocol e2_application_protocol = 4; - ConnectionStatus connection_status = 5; - uint32 connection_attempts = 6; - GlobalNbId global_nb_id = 7; - Node.Type node_type = 8; - oneof configuration { - Enb enb = 9; - Gnb gnb = 10; - } - Failure.Type failure_type = 11; - SetupFailure setup_failure = 12; + string ran_name = 1; + string ip = 2; + uint32 port = 3; + E2ApplicationProtocol e2_application_protocol = 4; + ConnectionStatus connection_status = 5; + GlobalNbId global_nb_id = 6; + Node.Type node_type = 7; + oneof configuration { + Enb enb = 8; + Gnb gnb = 9; + } + Failure.Type failure_type = 10; + SetupFailure setup_failure = 11; + string associated_e2t_instance_address = 12; + bool setup_from_network = 13; + uint64 status_update_time_stamp = 14; + string gnb_node_type = 15; + string cu_up_id = 16; + string du_id = 17; } enum E2ApplicationProtocol { - UNKNOWN_ASN1_MESSAGE_TYPE = 0; - X2_SETUP_REQUEST = 1; - ENDC_X2_SETUP_REQUEST = 2; + UNKNOWN_E2_APPLICATION_PROTOCOL = 0; + X2_SETUP_REQUEST = 1; + ENDC_X2_SETUP_REQUEST = 2; } -enum ConnectionStatus { - UNKNOWN_CONNECTION_STATUS = 0; - CONNECTED = 1; - DISCONNECTED = 2; - CONNECTED_SETUP_FAILED = 3; - CONNECTING = 4; - SHUTTING_DOWN = 5; - SHUT_DOWN = 6; -} message Node { - enum Type { - UNKNOWN = 0; - ENB = 1; - GNB = 2; - } + enum Type { + UNKNOWN = 0; + ENB = 1; + GNB = 2; + } } message Failure { - enum Type { - UNKNOWN_TYPE = 0; - X2_SETUP_FAILURE = 1; - ENDC_X2_SETUP_FAILURE = 2; - } + enum Type { + UNKNOWN_TYPE = 0; + X2_SETUP_FAILURE = 1; + ENDC_X2_SETUP_FAILURE = 2; + } }