blob: 8ae1be66463d258934d040f34d6d793129886f6b [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 {
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 }
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}