Bug 7759 - TEST - Getter of BA object fails to construct class instance
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / test / resources / test.yang
1 module test{
2     namespace "urn:test";
3     prefix tst;
4
5     revision 2017-01-01;
6
7     typedef id {
8         type uint16 {
9           range "1..4094";
10         }
11     }
12
13     container cont{
14         leaf vlan-id {
15             type union {
16               type id;
17               type enumeration {
18                 enum "any" {
19                   value 4096;
20                 }
21               }
22             }
23             mandatory true;
24           }
25     }
26 }