blob: 7096c18abcb30d5c57210df1dbf76b4ae096159d [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
emaclee9c126612023-04-16 17:48:15 +01007 revision "2023-03-21" {
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 {
lukegleeson5201f512023-03-23 17:36:15 +000014 key "clientID subscriptionName";
emacleef6f16f52023-01-25 12:18:15 +000015
16 leaf clientID {
17 type string;
18 }
19
lukegleeson5201f512023-03-23 17:36:15 +000020 leaf subscriptionName {
emacleef6f16f52023-01-25 12:18:15 +000021 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 }
halil.cakald7899562023-07-13 11:28:18 +010044
45 leaf details {
46 type string;
47 }
emaclee99d03a62023-03-13 09:27:24 +000048 }
49
50 leaf datastore {
51 type string;
52 }
emaclee02bffef2023-02-09 15:17:13 +000053 }
54
emacleef6f16f52023-01-25 12:18:15 +000055 }
56 }
57}