RIC-125: some additions
[ric-plt/o1.git] / agent / yang / o-ran-sc-ric-xapp-desc-v1.yang
index 1217de3..05e17d6 100755 (executable)
@@ -60,14 +60,36 @@ module o-ran-sc-ric-xapp-desc-v1 {
                 "JSON string of override file for 'helm install' command";
         }
     }
+
+    grouping xapp-status {
+        leaf name {
+            type string;
+            description
+                "Name of the xApp in helm chart";
+        }
+        leaf status {
+            type boolean;
+            description
+                "The status of xApp: true=healthy false=not-healthy";
+        }
+    }
     
-    // Top-level (root) manager object
+    // Top-level (root) managed object
     container ric {
         container xapps {
             list xapp {
                 key "name";
                 uses xapp-descriptor;
             }
-        }        
+        }
+        container health {
+            config false;
+            list status {
+                key "name";
+                uses xapp-status;
+            }
+            description
+                "State data of the xApps";
+        }
     }
 }
\ No newline at end of file