Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-data-impl / src / test / resources / org / opendaylight / yangtools / yang / data / impl / schema / rpc-test-model.yang
1 module rpc-test-model {
2 yang-version 1;
3     namespace "org:opendaylight:rpc-reply:test:ns:yang";
4     prefix "user";
5
6     organization "Cisco Systems";
7     contact "Lukas Sedlak";
8     description "Test model for testing rpc input message translation to DOM Nodes.";
9
10     revision "2014-07-17" {
11         description "Initial revision";
12     }
13
14     rpc rock-the-house {
15         output {
16             leaf zip-code {
17                 type string;
18             }
19         }
20     }
21
22     rpc activate-software-image {
23         input {
24             leaf image-name {
25                 type string;
26             }
27         }
28         output {
29             container image-properties {
30                 list image-property {
31                     key "image-id";
32
33                     leaf image-id {
34                         type string;
35                     }
36                 }
37             }
38
39             leaf status {
40                 type string;
41             }
42         }
43     }
44 }