Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / types / union-with-ext / unionbug.yang
1 module unionbug {
2     yang-version 1;
3     namespace "urn:test:bug:unionbug";
4     prefix "unionbug";
5
6     import extdef {
7         prefix extdef;
8     }
9
10     import ietf-inet-types {
11         prefix "inet";
12     }
13
14     revision 2012-04-16 {
15     }
16
17     typedef address {
18         type union {
19             type inet:ip-address {
20                 extdef:help "IP address";
21             }
22             type inet:ip-prefix {
23                 extdef:help "Subnet";
24             }
25             type string {
26                 extdef:help "Address name";
27             }
28         }
29     }
30
31 }