aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang
diff options
context:
space:
mode:
authoremaclee <lee.anjella.macabuhay@est.tech>2023-11-20 09:25:40 +0000
committeremaclee <lee.anjella.macabuhay@est.tech>2023-11-21 16:33:26 +0000
commit8090317460b8076f128fd8da46873135b007e2fd (patch)
tree65967aaf3e5f67361f0f58ea9112dc0f2434bf85 /cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang
parent2240e46412ca11a6deb4b678b52e4e242e298b03 (diff)
Onboard merge subscriptions model
-Add new model in subscription -Update unit tests for uploading models using modelLoader -Modify abstract model loaders to handle more than one yangResource in creating schema set -Modifying use of the basic subscription model to the new model will be on a seperate commit Issue-ID: CPS-1928 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I5805ab8c721e8a63726fd210379e815b84b387a3
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 000000000..de675b117
--- /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;
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+}