summaryrefslogtreecommitdiffstats
path: root/netconf/restconf/restconf-nb-bierman02/src/test/resources/instanceidentifier/yang/instance-identifier-patch-module.yang
blob: 02c1c2eaaaa3f282b39437ba652f904c1ecfeb25 (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
47
module instance-identifier-patch-module {
  namespace "instance:identifier:patch:module";

  prefix "iipmodule";
  revision 2015-11-21 {
  }

  container patch-cont {
    list my-list1 {

        description "PATCH /restconf/config/instance-identifier-patch-module:patch-cont/my-list1/leaf1";

        key name;

        leaf name {
            type string;
        }

        leaf my-leaf11 {
            type string;
        }

        leaf my-leaf12 {
            type string;
        }

        list my-list2 {
            key name;

            leaf name {
                type string;
            }

            leaf my-leaf21 {
                type string;
            }

            leaf my-leaf22 {
                type string;
            }
            leaf-list my-leaf-list {
                type string;
            }
        }
    }
  }
}