Is there a way to create a ‘binary leaf’ - a leaf without type.
container {
leaf a;
};
So I would know only if the leaf exists or not?
Thanks
Is there a way to create a ‘binary leaf’ - a leaf without type.
container {
leaf a;
};
So I would know only if the leaf exists or not?
Thanks
container c {
leaf a { type empty; }
}
See RFC 6020 Chapter 9.11 “The empty Built-In Type”
https://tools.ietf.org/html/rfc6020#section-9.11