Hide binding.model.api.DefaultType
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / resources / mdsal324.yang
1 module mdsal324 {
2     namespace "urn:odl:mdsal324";
3     prefix mdsal324;
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         leaf bar1 {
26             type union {
27                 type enumeration {
28                     enum "foo";
29                 }
30                 type string {
31                     length 2;
32                 }
33                 type union {
34                     type enumeration {
35                         enum bar;
36                     }
37                     type string {
38                         length 1;
39                     }
40                 }
41             }
42         }
43     }
44 }
45