summaryrefslogtreecommitdiffstats
path: root/docs/api/yang/dmiYangResource.yang
blob: 8e06a269482efff92d8ce46860c4e6038312e201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
module dmi-registry {

  yang-version 1.1;

  namespace \"org:onap:cps:ncmp\";

  prefix dmi-reg;

  organization \"Nordix Foundation\";

  contact \"rahul.tyagi@est.tech\";

  revision \"2021-05-20\" {
    description
    \"Initial Version\";
  }

  container dmi-registry {

    list cm-handles {

      key \"id\";

      leaf id {
        type string;
      }

      leaf dmi-service-name {
        type string;
      }

      list additional-properties {

        key \"name\";

        leaf name {
          type string;
        }

        leaf value {
          type string;
        }
      }
    }
  }
}