Code Review
/
controller.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
efc5e2c4ec937f86276fe88749c48af7a8c1a4d5
[controller.git]
/
opendaylight
/
md-sal
/
sal-rest-connector
/
src
/
test
/
resources
/
full-versions
/
test-module
/
test-module.yang
1
module test-module {
2
namespace "test:module";
3
prefix tstmod;
4
5
revision 2014-01-09 {
6
}
7
8
container interfaces {
9
container class {
10
leaf name {
11
type string;
12
}
13
leaf address {
14
type string;
15
}
16
leaf email {
17
type string;
18
}
19
}
20
}
21
22
container cont {
23
container cont1 {
24
leaf lf11 {
25
type string;
26
}
27
leaf lf12 {
28
type string;
29
}
30
}
31
list lst1 {
32
key "lf11";
33
leaf lf11 {
34
type string;
35
}
36
}
37
}
38
39
list lst-with-composite-key {
40
key "key1 key2";
41
leaf key1 {
42
type string;
43
}
44
leaf key2 {
45
type uint8;
46
}
47
}
48
49
rpc no-payload-rpc-test {
50
output {
51
container cont-output {
52
}
53
}
54
}
55
56
rpc rpc-test {
57
input {
58
container cont {
59
container cont1 {
60
leaf lf11 {
61
type string;
62
}
63
leaf lf12 {
64
type string;
65
}
66
}
67
}
68
}
69
output {
70
container cont-output {
71
}
72
}
73
}
74
}