hello,
I’m looking for name a leaf with an hash ‘#’
is it possible to name a leaf with the name “leaf-#” ?
when i name my leaf i got an error.
exemple
leaf leaf-#
{
type empty;
tailf:cli-optional-in-sequence;
tailf:info “help”;
}
hello,
I’m looking for name a leaf with an hash ‘#’
is it possible to name a leaf with the name “leaf-#” ?
when i name my leaf i got an error.
exemple
leaf leaf-#
{
type empty;
tailf:cli-optional-in-sequence;
tailf:info “help”;
}
hello,
i believe this is not possible - YANG defines leaf name as (excerpt from RFC 7950):
identifier = (ALPHA / "_")
*(ALPHA / DIGIT / "_" / "-" / ".")
so, you can use only letters/numbers and the few “extras” - underscore, dash, dot.