blob: 36a11246ffddb4171dd5aad7249825a8d497facd [file] [log] [blame]
aPiecek8858de02023-04-26 14:27:24 +02001module modoper-leafref {
2 yang-version 1.1;
3 namespace "urn:yanglint:modoper-leafref";
4 prefix mol;
5
6 import modconfig {
7 prefix mc;
8 }
9
10 container cond {
11 list list {
12 key "klf";
13 leaf klf {
14 type string;
15 }
16 action act {
17 input {
18 leaf lfi {
19 type leafref {
20 path "/mc:mcc/mc:lft";
21 }
22 }
23 }
24 output {
25 leaf lfo {
26 type leafref {
27 path "/mc:mcc/mc:lft";
28 }
29 }
30 }
31 }
32 notification notif {
33 leaf lfn {
34 type leafref {
35 path "/mc:mcc/mc:lft";
36 }
37 }
38 }
39 }
40 }
41
42 rpc rpcg {
43 input {
44 leaf lfi {
45 type leafref {
46 path "/mc:mcc/mc:lft";
47 }
48 }
49 }
50 output {
51 container cono {
52 leaf lfo {
53 type leafref {
54 path "/mc:mcc/mc:lft";
55 }
56 }
57 }
58 }
59 }
60
61 notification notifg {
62 leaf lfr {
63 type leafref {
64 path "/mc:mcc/mc:lft";
65 }
66 }
67 }
68}