de675b117c27edff12f76e2d90f07437bf599a85
[cps.git] / cps-ncmp-service / src / main / resources / models / cm-data-subscriptions@2023-11-13.yang
1 module cm-data-subscriptions {
2   yang-version 1.1;
3   namespace "org:onap:cps:ncmp";
4
5   prefix cmds;
6
7   revision "2023-11-13" {
8     description
9       "First release of cm data (notification) subscriptions model";
10   }
11
12   container datastores {
13
14     list datastore {
15       key "name";
16
17       leaf name {
18         type string;
19       }
20
21       container cm-handles {
22
23         list cm-handle {
24           key "id";
25
26           leaf id {
27             type string;
28           }
29
30           container filters {
31
32             list filter {
33               key "xpath";
34
35               leaf xpath {
36                 type string;
37               }
38
39               leaf-list subscribers {
40                 type string;
41               }
42
43             }
44           }
45         }
46       }
47     }
48   }
49 }