blob: 334c22716bed502958360472ee4d52a22bfcf202 [file] [log] [blame]
Khen Nursimulubf8bf282016-11-07 15:21:35 -05001module basic-rpc {
2 namespace "urn:acme:yang:basic";
3 prefix "basic";
4
5 leaf my-id {
6 type uint8;
7 }
8 leaf my-name {
9 type string;
10 }
11 leaf my-status {
12 type boolean;
13 config false;
14 }
15
16 rpc do-something {
17 input {
18 leaf my-input {
19 type string;
20 }
21 }
22 output {
23 leaf my-output {
24 type string;
25 }
26 }
27 }
28}