981e6fe99504eadc6ccbb9ee2bce8d58a0a83750
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / resources / restconf / parser / list-test.yang
1 module list-test {
2   namespace "list:test";
3   prefix "listt";
4
5   revision 2016-04-29 {
6     description
7       "Initial revision.";
8   }
9
10     container top {
11        list list1 {
12            key "key1 key2 key3";
13            leaf key1 {
14                type string;
15            }
16            leaf key2 {
17                type string;
18            }
19            leaf key3 {
20                type string;
21            }
22            list list2 {
23                 key "key4 key5";
24                 leaf key4 {
25                    type string;
26                 }
27                 leaf key5 {
28                    type string;
29                 }
30                 leaf result {
31                     type string;
32                 }
33            }
34         }
35         leaf-list Y {
36           type uint32;
37         }
38     }
39 }