Code Review
/
netconf.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Use keyed list as a selection node in filter
[netconf.git]
/
netconf
/
mdsal-netconf-connector
/
src
/
test
/
resources
/
yang
/
filter-validator-test-mod-0.yang
1
module filter-validator-test-mod-0 {
2
namespace "urn:dummy:mod-0";
3
prefix "mod-0";
4
revision "2016-03-01";
5
container mainroot {
6
leaf maincontent {
7
mandatory true;
8
type string;
9
}
10
list choiceList {
11
key name;
12
leaf name {
13
type string;
14
}
15
choice v {
16
case a {
17
leaf choice-leaf {
18
type string;
19
}
20
}
21
case b {
22
container choice-cont {
23
leaf content {
24
type string;
25
}
26
}
27
}
28
}
29
}
30
}
31
}