Kent Watsen wrote:
>
> I'm getting mixed results from pyang and yanglint. Can the XPath used
> in a 'must' statement point to a 'choice' node?
No, since the choice node is not present in the data tree. And note
that pyang doesn't validate XPath expressions (except for
I'm getting mixed results from pyang and yanglint. Can the XPath used
in a 'must' statement point to a 'choice' node?
In the below YANG snippet from the zerotouch draft, the idea is that, if
at least one URI is specified, then a hash needs to be present as well,
but any hash is okay,