Code Review
/
netconf.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Teach AbstractGet how to transform MapNodes
[netconf.git]
/
netconf
/
mdsal-netconf-connector
/
src
/
test
/
resources
/
yang
/
mdsal-netconf-rpc-test.yang
1
module rpc-test {
2
yang-version 1;
3
namespace "urn:opendaylight:mdsal:mapping:rpc:test";
4
prefix "rpc";
5
6
revision "2015-04-08";
7
8
rpc void-input-output-rpc {
9
10
}
11
12
rpc void-output-rpc {
13
input {
14
leaf test-string {
15
type string;
16
}
17
18
leaf test-string2 {
19
type string;
20
}
21
}
22
}
23
24
rpc nonvoid-rpc {
25
input {
26
leaf test-string {
27
type string;
28
}
29
30
leaf test-string2 {
31
type string;
32
}
33
}
34
35
output {
36
leaf test-string {
37
type string;
38
}
39
40
leaf test-string2 {
41
type string;
42
}
43
}
44
}
45
46
rpc container-rpc {
47
input {
48
container cont1 {
49
leaf test-string {
50
type string;
51
}
52
53
leaf test-string2 {
54
type string;
55
}
56
}
57
58
container cont2 {
59
leaf test-string {
60
type string;
61
}
62
63
leaf test-string2 {
64
type string;
65
}
66
}
67
}
68
69
output {
70
container cont1 {
71
leaf test-string {
72
type string;
73
}
74
75
leaf test-string2 {
76
type string;
77
}
78
}
79
80
container cont2 {
81
leaf test-string {
82
type string;
83
}
84
85
leaf test-string2 {
86
type string;
87
}
88
}
89
}
90
}
91
}
92