3d70538ff9881e0fdd314f661b7ecbe3f3564aa8
[ric-plt/nodeb-rnib.git] / entities / nb_identity.proto
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
18 /*
19  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
20  * platform project (RICP).
21  */
22
23
24 syntax = "proto3";
25 package entities;
26
27 enum ConnectionStatus {
28   UNKNOWN_CONNECTION_STATUS = 0;
29   CONNECTED = 1;
30   DISCONNECTED = 2;
31   CONNECTED_SETUP_FAILED = 3;
32   CONNECTING = 4;
33   SHUTTING_DOWN = 5;
34   SHUT_DOWN = 6;
35 }
36
37 message GlobalNbId{
38   string plmn_id = 1;
39   string nb_id = 2;
40 }
41
42 message NbIdentity{
43   string inventory_name = 1;
44   GlobalNbId global_nb_id = 2;
45   ConnectionStatus connection_status = 3;
46   int64 health_check_timestamp_sent = 4;
47   int64 health_check_timestamp_received = 5;
48 }