blob: e9d9658eb1a96078dd74ead9a48a2eb25b173d38 [file] [log] [blame]
emaclee80903172023-11-20 09:25:40 +00001module cm-data-subscriptions {
2 yang-version 1.1;
3 namespace "org:onap:cps:ncmp";
4
5 prefix cmds;
6
mpriyank33ffcd92024-02-12 16:16:36 +00007 revision "2024-02-12" {
emaclee80903172023-11-20 09:25:40 +00008 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
mpriyank33ffcd92024-02-12 16:16:36 +000039 leaf-list subscriptionIds {
emaclee80903172023-11-20 09:25:40 +000040 type string;
41 }
42
43 }
44 }
45 }
46 }
47 }
48 }
49}