Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Move yang-common(-netty)
[yangtools.git]
/
codec
/
yang-data-codec-xml
/
src
/
test
/
resources
/
bug5446
/
yang
/
foo.yang
1
module foo {
2
yang-version 1;
3
namespace "foo";
4
prefix "foo";
5
6
revision "2015-11-05" {
7
}
8
9
typedef ipv4-address-binary {
10
type binary {
11
length "4";
12
}
13
}
14
15
typedef ipv6-address-binary {
16
type binary {
17
length "16";
18
}
19
}
20
21
typedef ip-address-binary {
22
type union {
23
type ipv4-address-binary;
24
type ipv6-address-binary;
25
}
26
}
27
28
container root {
29
leaf ip-address {
30
type ip-address-binary;
31
}
32
}
33
}