c5dee438023f94cc80da30c2731639311e1cd3b3
[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     }
33 }