blob: c9f708ee5f496b0eed303ce5c8a51c47a8c633fb [file] [log] [blame]
janani b05614f12016-10-04 12:55:43 +05301module YtbRpcResponseWithAdvancedInputAndOutput {
2 yang-version 1;
3 namespace "yms:test:ytb:rpc:response:with:advanced:input:and:output";
4 prefix "sch";
5 revision "2016-08-26";
6 leaf refer {
7 type binary;
8 }
9 rpc activate-software-image {
10 input {
11 container final {
12 leaf-list value {
13 type uint16;
14 }
15 }
16 }
17 output {
18 list output-list {
19 key "list-key";
20 leaf list-key {
21 type leafref {
22 path "/refer";
23 }
24 }
25 container content_inside {
26 leaf-list available {
27 type int16;
28 }
29 }
30 }
31 }
32 }
33 list cumulative {
34 key "sum";
35 leaf sum {
36 type int8;
37 }
38 }
39}