Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix mandatory enforcer failure on augmented nodes
[yangtools.git]
/
data
/
yang-data-impl
/
src
/
test
/
resources
/
yt821.yang
1
module yt821 {
2
namespace "urn:opendaylight:params:xml:ns:yang:foo";
3
prefix foo;
4
5
revision 2018-07-18;
6
7
container root {
8
list foo {
9
key name;
10
leaf name {
11
type string;
12
}
13
}
14
list bar {
15
key name;
16
leaf name {
17
type string;
18
}
19
container container-in-list {
20
}
21
}
22
}
23
24
augment /root/bar/container-in-list {
25
leaf ref-from-aug {
26
type leafref {
27
path "/root/foo/name";
28
}
29
}
30
}
31
32
augment /root/bar/ {
33
container container-from-aug {
34
leaf ref-in-container {
35
type leafref {
36
path "/root/foo/name";
37
}
38
}
39
}
40
}
41
}