Code Review
/
mdsal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix enumeration leafref lookup
[mdsal.git]
/
binding
/
mdsal-binding-generator-impl
/
src
/
test
/
resources
/
mdsal352.yang
1
module enum-leafref {
2
namespace "urn:donaldh:yang:leafref:bug";
3
prefix l;
4
5
typedef action-effort {
6
type enumeration {
7
enum best-effort {
8
}
9
enum exact-match {
10
}
11
}
12
}
13
14
container operations {
15
list operation {
16
key 'effort';
17
uses operation-g;
18
}
19
}
20
21
grouping operation-g {
22
leaf effort {
23
type action-effort;
24
}
25
leaf-list operation {
26
type leafref {
27
path '/operations/operation/effort';
28
}
29
}
30
}
31
}
32