ad358445b2ae76316b8e976f24351799e85be48a
[cps.git] / cps-ncmp-service / src / main / resources / model / subscription.yang
1 module subscription {
2     yang-version 1.1;
3     namespace "org:onap:ncmp:subscription";
4
5     prefix subs;
6
7     revision "2022-10-12" {
8         description
9         "NCMP subscription model";
10     }
11
12     container subscription-registry {
13         list subscription {
14             key "clientID clientName";
15
16             leaf clientID {
17                 type string;
18             }
19
20             leaf clientName {
21                 type string;
22             }
23
24             leaf topic {
25                 type string;
26             }
27
28             leaf isTagged {
29                 type boolean;
30             }
31
32             leaf-list dmi-service-names {
33                 type string;
34             }
35
36         }
37     }
38 }