Remove netconf from commons/opendaylight pom
[controller.git] / opendaylight / 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     rpc void-input-output-rpc {
7
8     }
9
10     rpc void-output-rpc {
11         input {
12             leaf test-string {
13                 type string;
14             }
15
16             leaf test-string2 {
17                 type string;
18             }
19         }
20     }
21
22     rpc nonvoid-rpc {
23         input {
24             leaf test-string {
25                 type string;
26             }
27
28             leaf test-string2 {
29                 type string;
30             }
31         }
32
33         output {
34             leaf test-string {
35                 type string;
36             }
37
38             leaf test-string2 {
39                 type string;
40             }
41         }
42     }
43
44     rpc container-rpc {
45         input {
46             container cont1 {
47                 leaf test-string {
48                     type string;
49                 }
50
51                 leaf test-string2 {
52                     type string;
53                 }
54             }
55
56             container cont2 {
57                 leaf test-string {
58                     type string;
59                 }
60
61                 leaf test-string2 {
62                     type string;
63                 }
64             }
65         }
66
67         output {
68             container cont1 {
69                 leaf test-string {
70                     type string;
71                 }
72
73                 leaf test-string2 {
74                     type string;
75                 }
76             }
77
78             container cont2 {
79                 leaf test-string {
80                     type string;
81                 }
82
83                 leaf test-string2 {
84                     type string;
85                 }
86             }
87         }
88     }
89 }
90