Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
45999a662bd23bc09a1270016d69af6da25ae7ec
[yangtools.git]
/
yang
/
yang-data-impl
/
src
/
test
/
resources
/
odl-datastore-test.yang
1
module odl-datastore-test {
2
yang-version 1;
3
namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test";
4
prefix "store-test";
5
6
revision "2014-03-13" {
7
description "Initial revision.";
8
}
9
10
container test {
11
choice choice1 {
12
case case1 {
13
leaf case1-leaf1 {
14
type string;
15
config false;
16
}
17
}
18
case case2 {
19
container case2-cont {
20
leaf case2-leaf1 {
21
type string;
22
config false;
23
}
24
}
25
}
26
}
27
28
list outer-list {
29
30
key id;
31
leaf id {
32
type uint16;
33
}
34
choice outer-choice {
35
case one {
36
leaf one {
37
type string;
38
}
39
}
40
case two-three {
41
leaf two {
42
type string;
43
}
44
leaf three {
45
type string;
46
}
47
}
48
}
49
list inner-list {
50
config false;
51
key name;
52
leaf name {
53
type string;
54
}
55
leaf value {
56
type string;
57
}
58
}
59
60
list inner-list2 {
61
key name;
62
leaf name {
63
type string;
64
}
65
leaf value {
66
type string;
67
config false;
68
}
69
}
70
}
71
}
72
}
73
}