X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=entities%2Fnodeb_info.proto;h=e42702db3da4e46993de85f44c3a3bde96e2e427;hb=refs%2Fheads%2Ff-release;hp=a8e41234a651c1a04bfe416a7925b912dba99b9c;hpb=286ce41c7d5049e688a40f68e4c6681a645add3d;p=ric-plt%2Fnodeb-rnib.git diff --git a/entities/nodeb_info.proto b/entities/nodeb_info.proto index a8e4123..e42702d 100644 --- a/entities/nodeb_info.proto +++ b/entities/nodeb_info.proto @@ -1,45 +1,72 @@ +/* + * Copyright 2019 AT&T Intellectual Property + * Copyright 2019 Nokia + * + * 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; - ConnectionStatus connection_status = 4; - GlobalNbId global_nb_id = 5; - Node.Type node_type = 6; - oneof configuration{ - Enb enb = 7; - Gnb gnb = 8; - } - Failure.Type failure_type = 9; - SetupFailure setup_failure = 10; +message NodebInfo { + 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; } -enum ConnectionStatus{ - UNKNOWN_CONNECTION_STATUS = 0; - CONNECTED = 1; - NOT_CONNECTED = 2; - CONNECTED_SETUP_FAILED = 3; - CONNECTING = 4; +enum E2ApplicationProtocol { + UNKNOWN_E2_APPLICATION_PROTOCOL = 0; + X2_SETUP_REQUEST = 1; + ENDC_X2_SETUP_REQUEST = 2; } -message Node{ - enum Type{ - UNKNOWN = 0; - ENB = 1; - GNB = 2; - } + +message Node { + enum Type { + UNKNOWN = 0; + ENB = 1; + GNB = 2; + } } -message Failure{ - enum Type{ - UNKNOWN_TYPE = 0; - X2_SETUP_FAILURE = 1; - ENDC_X2_SETUP_FAILURE = 2; - } +message Failure { + enum Type { + UNKNOWN_TYPE = 0; + X2_SETUP_FAILURE = 1; + ENDC_X2_SETUP_FAILURE = 2; + } }