Adding upstream version 3.1.0+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
64dbec996d
commit
cfcebb1a7d
569 changed files with 205393 additions and 0 deletions
24
tests/yanglint/modules/modextleafref.yang
Normal file
24
tests/yanglint/modules/modextleafref.yang
Normal file
|
@ -0,0 +1,24 @@
|
|||
module modextleafref {
|
||||
namespace "urn:yanglint:modextleafref";
|
||||
prefix mel;
|
||||
|
||||
list ls {
|
||||
key k;
|
||||
leaf k {
|
||||
type string;
|
||||
}
|
||||
leaf lf {
|
||||
type uint8;
|
||||
}
|
||||
}
|
||||
leaf lfr {
|
||||
type leafref {
|
||||
path "../ls/k";
|
||||
}
|
||||
}
|
||||
leaf lfrderef {
|
||||
type leafref {
|
||||
path "deref(../lfr)/../lf";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue