package-rebuilds/pkgs/libyang/libyang-3.7.8/tools/lint/examples/sm-main.yang
Thomas Lamprecht 853454b646 libyang: check in 3.7.8 source
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-03-07 14:34:15 +01:00

33 lines
605 B
YANG

module sm-main {
yang-version 1.1;
namespace "urn:sm-main";
prefix "sm-main";
import ietf-yang-schema-mount {
prefix yangmnt;
}
import ietf-interfaces {
prefix if;
}
list root {
key "node";
leaf node {
type string;
}
yangmnt:mount-point "root";
}
container root2 {
yangmnt:mount-point "root";
}
container root3 {
list my-list {
key name;
leaf name {
type string;
}
yangmnt:mount-point "mnt-root";
}
}
}