emaclee | 8090317 | 2023-11-20 09:25:40 +0000 | [diff] [blame] | 1 | module cm-data-subscriptions { |
2 | yang-version 1.1; | ||||
3 | namespace "org:onap:cps:ncmp"; | ||||
4 | |||||
5 | prefix cmds; | ||||
6 | |||||
mpriyank | 33ffcd9 | 2024-02-12 16:16:36 +0000 | [diff] [blame] | 7 | revision "2024-02-12" { |
emaclee | 8090317 | 2023-11-20 09:25:40 +0000 | [diff] [blame] | 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 | |||||
mpriyank | 33ffcd9 | 2024-02-12 16:16:36 +0000 | [diff] [blame] | 39 | leaf-list subscriptionIds { |
emaclee | 8090317 | 2023-11-20 09:25:40 +0000 | [diff] [blame] | 40 | type string; |
41 | } | ||||
42 | |||||
43 | } | ||||
44 | } | ||||
45 | } | ||||
46 | } | ||||
47 | } | ||||
48 | } | ||||
49 | } |