RIC:1060: Change in PTL
[ric-plt/nodeb-rnib.git] / entities / nb_identity.proto
index 949db63..d1211b3 100644 (file)
  * limitations under the License.
  */
 
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+ */
+
+
 syntax = "proto3";
 package entities;
+option go_package = "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib/entities";
 
-message NbIdentity{
-    string inventory_name = 1;
-    GlobalNbId global_nb_id = 2;
+enum ConnectionStatus {
+  UNKNOWN_CONNECTION_STATUS = 0;
+  CONNECTED = 1;
+  DISCONNECTED = 2;
+  CONNECTED_SETUP_FAILED = 3;
+  CONNECTING = 4;
+  SHUTTING_DOWN = 5;
+  SHUT_DOWN = 6;
+  UNDER_RESET = 7;
 }
 
 message GlobalNbId{
-    string plmn_id = 1;
-    string nb_id = 2;
+  string plmn_id = 1;
+  string nb_id = 2;
+}
+
+message NbIdentity{
+  string inventory_name = 1;
+  GlobalNbId global_nb_id = 2;
+  ConnectionStatus connection_status = 3;
+  int64 health_check_timestamp_sent = 4;
+  int64 health_check_timestamp_received = 5;
 }