BUG 2743 - Added support for runtime RPC's to netconf mdsal northbound.
[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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.