summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang
diff options
context:
space:
mode:
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 0000000000..e9d9658eb1
--- /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;
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+}