Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / types / union-in-list / unioninlisttest.yang
1 module unioninlisttest {
2
3     namespace "urn:uilt";
4     prefix "uilt";
5
6     revision 2015-01-13 {
7     }
8
9     list foo {
10         key "name";
11         unique "ip port";
12
13         leaf name {
14             type string;
15         }
16
17         union {
18             type int32;
19             type enumeration {
20                 enum "test";
21             }
22         }
23
24         leaf ip {
25             type string;
26         }
27
28         leaf port {
29             type string;
30         }
31     }
32 }