Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Adjust test suite parser update to conform with API changes
[yangtools.git]
/
yang
/
yang-parser-rfc7950
/
src
/
test
/
resources
/
bugs
/
bug8831
/
valid
/
example-model.yang
1
module example-model {
2
yang-version 1.1;
3
namespace "http://www.example.com";
4
prefix ex;
5
6
revision 2017-07-10;
7
8
typedef enum-first {
9
type union {
10
type enumeration {
11
enum "any";
12
}
13
type uint16;
14
}
15
}
16
17
typedef enum-last {
18
type union {
19
type uint16;
20
type enumeration {
21
enum "any";
22
}
23
}
24
}
25
26
container top {
27
leaf enum-first-leaf {
28
type enum-first;
29
default "any";
30
}
31
leaf enum-last-leaf {
32
type enum-last;
33
default "any";
34
}
35
}
36
}