Code Review
/
netconf.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a012a53410d69a8a9131eb57e10a167cbfdc8bbb
[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
container inner {
11
list inner-multi-key-list {
12
key "id1 id2";
13
leaf id1 {
14
type string;
15
}
16
leaf id2 {
17
type string;
18
}
19
}
20
}
21
list choiceList {
22
key name;
23
leaf name {
24
type string;
25
}
26
choice v {
27
case a {
28
leaf choice-leaf {
29
type string;
30
}
31
}
32
case b {
33
container choice-cont {
34
leaf content {
35
type string;
36
}
37
}
38
}
39
}
40
}
41
42
list multi-key-list {
43
key "id1 id2";
44
leaf id1 {
45
type string;
46
}
47
leaf id2 {
48
type string;
49
}
50
}
51
}
52
}