hello, i’ve seen examples from CISO NSO that its “Device Template” already start to use schema mount using extension below:
“tailf:mount-point ncs-template-config;”
but it’s only example to show how to define a mount-point, but i still do not know how to “mount a yang module under this mount point”
can some one give me some examples about this? thanks! and some example schema mount rpc from a NETCONF client’s view will be very helpful.
i also wondering what’s the difference between “tailf:mount-point” and the standard RFC 8528 mount point?
NSO yang code:
submodule tailf-ncs-devices {
namespace “http://tail-f.com/ns/ncs”;
…
container devices {
…
list template {
description
"This list is used to define named template configurations that
can be used to either instantiate the configuration for new
devices, or to apply snippets of configurations to existing
devices.
…
";
key name;
leaf name {
description "The name of a specific template configuration";
type string;
}
list ned-id {
key id;
leaf id {
type identityref {
base ned:ned-id;
}
}
container config {
tailf:mount-point ncs-template-config;
tailf:cli-add-mode;
tailf:cli-expose-ns-prefix;
description
"This container is augmented with data models from the devices.";
}
}
}