blob: 23ea2898c7c5cb33a645e273afc8da5503000f8f [file] [log] [blame]
Michal Vaskodd385b22017-02-13 10:52:41 +01001module module4 {
2 yang-version 1.1;
3 namespace "urn:module4";
4 prefix m4;
5
6 container cont1 {
7 list list {
8 key "leaf1";
9 leaf leaf1 {
10 type string;
11 }
12 action act {
13 input {
14 leaf leaf2 {
15 type string;
16 }
17 }
18 output {
19 leaf leaf3 {
20 type string;
21 }
22 }
23 }
24 notification notif1 {
25 leaf leaf4 {
26 type string;
27 }
28 }
29 }
30 }
31
32 rpc rpc {
33 input {
34 leaf leaf5 {
35 type string;
36 }
37 }
38 output {
39 container cont2 {
40 leaf leaf6 {
41 type empty;
42 }
43 }
44 }
45 }
46
47 notification notif2 {
48 leaf leaf7 {
49 type empty;
50 }
51 }
52}