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
68
tests/yanglint/modules/modoper-leafref.yang
Normal file
68
tests/yanglint/modules/modoper-leafref.yang
Normal file
|
@ -0,0 +1,68 @@
|
|||
module modoper-leafref {
|
||||
yang-version 1.1;
|
||||
namespace "urn:yanglint:modoper-leafref";
|
||||
prefix mol;
|
||||
|
||||
import modconfig {
|
||||
prefix mc;
|
||||
}
|
||||
|
||||
container cond {
|
||||
list list {
|
||||
key "klf";
|
||||
leaf klf {
|
||||
type string;
|
||||
}
|
||||
action act {
|
||||
input {
|
||||
leaf lfi {
|
||||
type leafref {
|
||||
path "/mc:mcc/mc:lft";
|
||||
}
|
||||
}
|
||||
}
|
||||
output {
|
||||
leaf lfo {
|
||||
type leafref {
|
||||
path "/mc:mcc/mc:lft";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
notification notif {
|
||||
leaf lfn {
|
||||
type leafref {
|
||||
path "/mc:mcc/mc:lft";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rpc rpcg {
|
||||
input {
|
||||
leaf lfi {
|
||||
type leafref {
|
||||
path "/mc:mcc/mc:lft";
|
||||
}
|
||||
}
|
||||
}
|
||||
output {
|
||||
container cono {
|
||||
leaf lfo {
|
||||
type leafref {
|
||||
path "/mc:mcc/mc:lft";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
notification notifg {
|
||||
leaf lfr {
|
||||
type leafref {
|
||||
path "/mc:mcc/mc:lft";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue