blob: 3589a9fd4f76440e3fb16bc73c246c9c27b3925a [file] [log] [blame]
janani b06eca9b2016-04-26 18:49:20 +05301module rock {
2 namespace "http://example.net/rock";
3 prefix "rock";
4
5 rpc rock-the-house {
6 description "description";
7 status current;
8 reference "reference";
9 grouping hello {
10 list valid {
11 key invalid-interval;
12 reference "RFC 6020";
13 leaf invalid-interval {
14 type "uint16";
15 units "seconds";
16 status current;
17 reference "RFC 6020";
18 }
19 }
20 }
21 input {
22 leaf zip-code {
23 type string;
24 }
25 uses hello;
26 }
27 output {
28 leaf status {
29 type string;
30 }
31 uses hello;
32 }
33 }
34}