Hi,

RFC7950 has defined a terminology "data tree", shown as below:
   o  data tree: An instantiated tree of any data modeled with YANG,
      e.g., configuration data, state data, combined configuration and
      state data, RPC or action input, RPC or action output, or
      notification.

I have a question on this issue, that is,
Whether the content of the <config> node in <edit-config> is a "data tree", and 
does it need to follow the constraints of the "data tree" (e.g., The container 
node exists an most one instance in the data tree).
For example, the netconf message content is like this

<edit-config>
    <target><running/></target>
    <config>
        <system xmlns=" urn:ietf:params:xml:ns:yang:ietf-system">
            <contact>x...@yyy.com</contact>
        </system>
        <system xmlns=" urn:ietf:params:xml:ns:yang:ietf-system">
            <hostname>Ubuntu-test-01</hostname>
        </system>
    </config>
</edit-config>

These two <system> tags is disobeyed the constraint or not?

Thanks.
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to