Code Review
/
mdsal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Specialize relative leafref types during instantiation
[mdsal.git]
/
binding
/
mdsal-binding-test-model
/
src
/
main
/
yang
/
mdsal533.yang
1
module mdsal533 {
2
yang-version 1;
3
namespace "mdsal533";
4
prefix "mdsal533";
5
6
grouping foo_grp {
7
leaf key_leaf1 {
8
type leafref {
9
path "../../../mdsal533:foo_list/mdsal533:name";
10
}
11
}
12
leaf key_leaf2 {
13
type string;
14
}
15
leaf key_leaf3 {
16
type string;
17
}
18
}
19
20
container foo_cont {
21
list foo_list {
22
key "name";
23
leaf name {
24
type string {
25
length "1..255";
26
}
27
}
28
}
29
container foo_cont2 {
30
list foo_list2 {
31
key "key_leaf1 key_leaf2 key_leaf3";
32
uses foo_grp;
33
}
34
}
35
}
36
}