Hi William,
On 8/8/18, 4:41 AM, "netmod on behalf of Ivory, William"
<[email protected] on behalf of [email protected]> wrote:
On 07/08/18 23:01, Acee Lindem (acee) wrote:
Is it possible to indicate that choice statement must be specified in a
YANG 1.1 “must” clause w/o specifying every case? Similarly, it is there a way
specify that a container cannot be empty in “must” clause?
Thanks,
Acee
[to list this time ...]
For the second, just check the container has children:
must "<path_to_container>/*";
I'll try this.
Thanks - it seems it should work as long as the container only contain leaves
and presence containers.
Acee
Regards,
William
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod