On 08/22/2016 06:45 PM, Martin Bjorklund wrote:
I disagree.  If the model needs to have some semantic validation
rules, the designer is going to put them in a place such that they are
evaluated when the need to be evaluated.
So designers augmenting /interfaces/interface with non-presence container with child leaves should just pick one of the leaves in YANG 1.1 and put the must statements there instead of the parent container. Yes this might work. There is no problem adding extra "../" in the Xpath expressions. But what is the justification of all that except the "If a container does not have a "presence" statement and the last child node is deleted, the NETCONF server MAY delete the container." text?

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

Reply via email to