Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Reimplement SchemaContextUtil.getBaseTypeForLeafRef()
[yangtools.git]
/
yang
/
yang-data-codec-gson
/
src
/
test
/
resources
/
bug-4969
/
yang
/
bar.yang
1
module bar {
2
namespace "bar";
3
prefix bar;
4
5
revision "2016-01-22" {
6
description "Initial version";
7
}
8
9
typedef ref1 {
10
type ref1-2;
11
}
12
13
typedef ref2 {
14
type ref2-2;
15
}
16
17
typedef ref3 {
18
type ref3-2;
19
}
20
21
typedef ref1-2 {
22
type leafref {
23
path "/bar:root/bar:l1";
24
}
25
}
26
27
typedef ref2-2 {
28
type leafref {
29
path "/bar:root/bar:l2";
30
}
31
}
32
33
typedef ref3-2 {
34
type leafref {
35
path "/bar:root/bar:l3";
36
}
37
}
38
39
container root {
40
leaf l1 {
41
type bits {
42
bit a;
43
bit b;
44
bit c;
45
bit d;
46
}
47
}
48
leaf l2 {
49
type leafref {
50
path "/root/l1";
51
}
52
}
53
leaf l3 {
54
type leafref {
55
path "../l1";
56
}
57
}
58
}
59
}