Support for NETCONF Get command to get xapp configuration in O1 client
[ric-plt/o1.git] / agent / yang / o-ran-sc-ric-xapp-desc-v1.yang
index 3a881ee..bac2b50 100755 (executable)
@@ -59,6 +59,11 @@ module o-ran-sc-ric-xapp-desc-v1 {
             description
                 "JSON string of override file for 'helm install' command";
         }
+       leaf config {
+           type string;
+           description
+               "configuration of the xapp";
+       }
         description
             "xApp descriptor";
     }
@@ -125,7 +130,22 @@ module o-ran-sc-ric-xapp-desc-v1 {
             description
                 "State data of the xApps";
         }
+       container configuration {
+           config false;
+           container xapps {
+           list xapp {
+               key "name";
+               uses xapp-descriptor;
+               description
+                   "xApp descriptor";
+           }
+           description
+               "List of xApps for which config to be extracted";
+         }
+         description
+             "config get data of the xApps";
+       }
         description
             "Root object for xApp management and status";
     }
-}
\ No newline at end of file
+}