Fixup test for MDSAL-320
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / resources / mdsal320.yang
1 module mdsal320 {
2     namespace "urn:odl:mdsal320";
3     prefix mdsal320;
4
5     container foo {
6         leaf bar {
7             type union {
8                 type enumeration {
9                     enum "foo";
10                 }
11                 type string {
12                     length 2;
13                 }
14                 type union {
15                     type enumeration {
16                         enum bar;
17                     }
18                     type string {
19                         length 1;
20                     }
21                 }
22             }
23         }
24     }
25 }
26