blob: 2d4b207e17ffa7e9695f0c31638978f9cdc1e015 [file] [log] [blame]
emacleef6f16f52023-01-25 12:18:15 +00001module subscription {
2 yang-version 1.1;
3 namespace "org:onap:ncmp:subscription";
4
5 prefix subs;
6
emaclee99d03a62023-03-13 09:27:24 +00007 revision "2023-21-03" {
emacleef6f16f52023-01-25 12:18:15 +00008 description
emaclee99d03a62023-03-13 09:27:24 +00009 "NCMP subscription model";
emacleef6f16f52023-01-25 12:18:15 +000010 }
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 }
emaclee02bffef2023-02-09 15:17:13 +000031
emaclee99d03a62023-03-13 09:27:24 +000032 container predicates {
33
34 list targetCmHandles {
35 key "cmHandleId";
36
37 leaf cmHandleId {
38 type string;
39 }
40
41 leaf status {
42 type string;
43 }
44 }
45
46 leaf datastore {
47 type string;
48 }
emaclee02bffef2023-02-09 15:17:13 +000049 }
50
emacleef6f16f52023-01-25 12:18:15 +000051 }
52 }
53}