Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug 6669: Mandatory nodes cannot be added to node from another module via augment
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
bugs
/
bug6669
/
invalid
/
test2
/
bar.yang
1
module bar {
2
namespace "bar";
3
prefix bar;
4
5
import foo { prefix foo; revision-date 2016-09-08; }
6
7
revision 2016-09-08;
8
9
augment /foo:root {
10
container bar {
11
}
12
}
13
14
augment /foo:root/bar:bar {
15
container bar1 {
16
}
17
}
18
19
augment /foo:root/bar:bar/bar:bar1 {
20
container bar2 {
21
}
22
}
23
24
augment /foo:root/bar:bar/bar:bar1/bar:bar2 {
25
leaf m {
26
mandatory true;
27
type empty;
28
}
29
}
30
}