summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2024-02-12 16:16:36 +0000
committermpriyank <priyank.maheshwari@est.tech>2024-02-12 17:41:14 +0000
commit33ffcd9a60f464ca2c4a55f9aac0cb35d7aeaa88 (patch)
treeb81b539e6335340f690207b571fe7a3f6ace22ce /cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang
parent1302ce8ecc2772d258bdd10f32af23e7e9861880 (diff)
Update cm-data-subscriptions model
- rename leaf-list subscribers to subscriptionIds - code using the same also updated - not creating a new version of model as nobody is using it at the moment Issue-ID: CPS-2088 Change-Id: I43d679047bdfc665b56f262757acc4bbaba2733f Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang')
-rw-r--r--cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang49
1 files changed, 49 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang
new file mode 100644
index 000000000..e9d9658eb
--- /dev/null
+++ b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang
@@ -0,0 +1,49 @@
+module cm-data-subscriptions {
+ yang-version 1.1;
+ namespace "org:onap:cps:ncmp";
+
+ prefix cmds;
+
+ revision "2024-02-12" {
+ description
+ "First release of cm data (notification) subscriptions model";
+ }
+
+ container datastores {
+
+ list datastore {
+ key "name";
+
+ leaf name {
+ type string;
+ }
+
+ container cm-handles {
+
+ list cm-handle {
+ key "id";
+
+ leaf id {
+ type string;
+ }
+
+ container filters {
+
+ list filter {
+ key "xpath";
+
+ leaf xpath {
+ type string;
+ }
+
+ leaf-list subscriptionIds {
+ type string;
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+}