0d1ffb9ea812fe5660156cf66dfb8f974963f446
[yangtools.git] / yang / yang-parser-impl / src / test / resources / augment-test / rpc / bar.yang
1 module bar {
2     yang-version 1;
3     namespace "urn:opendaylight:bar";
4     prefix "bar";
5
6     revision "2013-10-11" {
7     }
8
9     rpc cancel {
10         input {
11             leaf id {
12                 type string;
13             }
14         }
15         output {
16             leaf failure {
17                 type string;
18             }
19         }
20     }
21
22
23     rpc submit {
24         input {
25             leaf id {
26                 type string;
27             }
28             leaf type {
29                 type string;
30             }
31             choice arguments {
32             }
33         }
34
35         output {
36             choice result {
37                 case failure {
38                     leaf failure {
39                         type string;
40                     }
41                 }
42             }
43         }
44     }
45
46 }