YANG nodes can have multiple if-feature statements. Its not entirely
obvious to me how if-feature statements combine for a given node. I
presume that a node is supported if all if-feature statements on the
node are valid. Is this the correct interpretation?
I.e. in the example below, "things" container is only supported if both
"do-things" and "do-more-things" features are enabled.
E.g.
module base-module {
prefix bmod;
feature do-things;
feature do-more-things;
container things {
if-feature do-things;
if-feature do-more-things;
...
}
}
Thanks,
Rob
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod