blob: d45ec7189eaa0f0e6b71b0e772be83cc0c0d1498 [file] [log] [blame]
aPiecek0308aea2023-06-02 10:50:03 +02001module modextleafref {
2 namespace "urn:yanglint:modextleafref";
3 prefix mel;
4
5 list ls {
6 key k;
7 leaf k {
8 type string;
9 }
10 leaf lf {
11 type uint8;
12 }
13 }
14 leaf lfr {
15 type leafref {
16 path "../ls/k";
17 }
18 }
19 leaf lfrderef {
20 type leafref {
21 path "deref(../lfr)/../lf";
22 }
23 }
24}