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

For the second, just check the container has children:

    must "<path_to_container>/*";

Regards,

William

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to