Code Review
/
mdsal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Binding generator v2 - Choice/Cases support
[mdsal.git]
/
binding2
/
mdsal-binding2-generator-impl
/
src
/
test
/
resources
/
choice
/
test-choice.yang
1
module test-choice {
2
yang-version 1;
3
namespace "org.test.choice";
4
prefix "tstch";
5
6
container food {
7
choice snack {
8
case sports-arena {
9
leaf pretzel {
10
type empty;
11
}
12
13
leaf beer {
14
type empty;
15
}
16
}
17
18
case late-night {
19
leaf chocolate {
20
type enumeration {
21
enum dark;
22
enum milk;
23
enum first-available;
24
}
25
}
26
}
27
}
28
}
29
}