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
/
rfc7950
/
bug6869
/
foo.yang
1
module foo {
2
namespace "foo";
3
prefix foo;
4
yang-version 1.1;
5
6
identity my-identity {
7
if-feature identity-feature;
8
}
9
10
container root {
11
uses grp {
12
refine grp-leaf {
13
if-feature mandatory-leaf;
14
mandatory true;
15
}
16
}
17
}
18
19
grouping grp {
20
leaf grp-leaf {
21
type empty;
22
}
23
}
24
25
typedef my-enum {
26
type enumeration {
27
enum tcp;
28
enum ssh {
29
if-feature ssh;
30
}
31
enum tls {
32
if-feature tls;
33
}
34
}
35
}
36
37
typedef my-bits {
38
type bits {
39
bit one;
40
bit two {
41
if-feature two;
42
}
43
bit three {
44
if-feature three;
45
}
46
}
47
}
48
}