Support 'public' Cm Handle Properties
[cps.git] / cps-ri / src / main / resources / changelog / db / changes / data / yang-models / dmi-registry@2021-12-13.yang
1 module dmi-registry {
2
3   yang-version 1.1;
4
5   namespace "org:onap:cps:ncmp";
6
7   prefix dmi-reg;
8
9   contact "dylan.byrne@est.tech";
10
11   revision "2021-05-20" {
12     description
13     "Initial Version";
14   }
15
16   revision "2021-10-20" {
17     description
18     "Added dmi-data-service-name & dmi-model-service-name to allow separate DMI instances for each responsibility";
19   }
20
21   revision "2021-12-13" {
22     description
23     "Added new list of public additonal properties for a Cm-Handle which are exposed to clients of the NCMP interface";
24   }
25
26   container dmi-registry {
27     list cm-handles {
28       key "id";
29       leaf id {
30         type string;
31       }
32       leaf dmi-service-name {
33         type string;
34       }
35       leaf dmi-data-service-name {
36         type string;
37       }
38       leaf dmi-model-service-name {
39         type string;
40       }
41
42       list additional-properties {
43         key "name";
44         leaf name {
45           type string;
46         }
47         leaf value {
48           type string;
49         }
50       }
51
52       list public-properties {
53         key "name";
54         leaf name {
55           type string;
56         }
57         leaf value {
58           type string;
59         }
60       }
61     }
62   }
63 }