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
/
valid
/
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
presence "presence container";
17
}
18
}
19
20
augment /foo:root/bar:bar/bar:bar1 {
21
container bar2 {
22
}
23
}
24
25
augment /foo:root/bar:bar/bar:bar1/bar:bar2 {
26
leaf m {
27
mandatory true;
28
type empty;
29
}
30
}
31
}