summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang
diff options
context:
space:
mode:
authorLee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>2024-02-13 10:54:02 +0000
committerGerrit Code Review <gerrit@onap.org>2024-02-13 10:54:02 +0000
commitc3a058c618cec3e3dbfdd4e7d08a35a682f9a4a3 (patch)
tree7c3a4be37927f0f2d4d77cf484c62213532f7b72 /cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang
parent8801b297e389378eab9068250fcfa63d682f1441 (diff)
parent33ffcd9a60f464ca2c4a55f9aac0cb35d7aeaa88 (diff)
Merge "Update cm-data-subscriptions model"
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;
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+}