Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a8821683d931c0d06f5b18aa43c87b6214e952d2
[yangtools.git]
/
yang
/
yang-parser-impl
/
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
}