summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang
diff options
context:
space:
mode:
authorPriyank Maheshwari <priyank.maheshwari@est.tech>2023-11-23 10:23:45 +0000
committerGerrit Code Review <gerrit@onap.org>2023-11-23 10:23:45 +0000
commitb5d03c741caac8c255e20a1245f709045c238e90 (patch)
tree43e35935fcd6b5c3e36639bb07527dc9f511ec40 /cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang
parentc6dfb03f66eb4573c6fcea761e2414aadaaf7878 (diff)
parent8090317460b8076f128fd8da46873135b007e2fd (diff)
Merge "Onboard merge subscriptions model"
Diffstat (limited to 'cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang')
-rw-r--r--cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang49
1 files changed, 49 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang
new file mode 100644
index 0000000000..de675b117c
--- /dev/null
+++ b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang
@@ -0,0 +1,49 @@
+module cm-data-subscriptions {
+ yang-version 1.1;
+ namespace "org:onap:cps:ncmp";
+
+ prefix cmds;
+
+ revision "2023-11-13" {
+ 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 subscribers {
+ type string;
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+}