Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug 5437: Issue accessing mounted device supporting OpenConfig BGP.
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
bugs
/
bug5437
/
foo.yang
1
module foo {
2
namespace "foo";
3
prefix foo;
4
yang-version 1;
5
6
revision "2016-03-01" {
7
description "test";
8
}
9
10
grouping grp {
11
container con-grp {
12
leaf l {
13
type int16;
14
}
15
leaf leaf-ref {
16
type leafref {
17
path "../../con2/l2";
18
}
19
}
20
}
21
}
22
23
container root {
24
uses grp;
25
container con2 {
26
leaf l2 {
27
type binary;
28
}
29
}
30
}
31
32
augment "/root" {
33
leaf leaf-ref-2 {
34
type leaf-ref-type2;
35
}
36
}
37
38
typedef leaf-ref-type2 {
39
type leaf-ref-type;
40
}
41
42
typedef leaf-ref-type {
43
type leafref {
44
path "../con-grp/l";
45
}
46
}
47
}