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
39
tests/modules/yang/sm.yang
Normal file
39
tests/modules/yang/sm.yang
Normal file
|
@ -0,0 +1,39 @@
|
|||
module sm {
|
||||
yang-version 1.1;
|
||||
namespace "urn:sm";
|
||||
prefix "sm";
|
||||
|
||||
import ietf-yang-schema-mount {
|
||||
prefix yangmnt;
|
||||
}
|
||||
import ietf-interfaces {
|
||||
prefix if;
|
||||
}
|
||||
|
||||
container root {
|
||||
yangmnt:mount-point "root";
|
||||
}
|
||||
container root2 {
|
||||
yangmnt:mount-point "root";
|
||||
}
|
||||
container root3 {
|
||||
list ls {
|
||||
key name;
|
||||
leaf name {
|
||||
type string;
|
||||
}
|
||||
yangmnt:mount-point "mnt-root";
|
||||
}
|
||||
}
|
||||
leaf target {
|
||||
type string;
|
||||
}
|
||||
|
||||
augment /if:interfaces/if:interface {
|
||||
leaf sm-name {
|
||||
type leafref {
|
||||
path "/sm:target";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue