Hi,

We are trying to pull junos config using their yang model. Everything works
fine except if we add junos annotations (comment) to router configuration.
Netconf fails to find the node corresponding to that. This is what juniper
netconf server sends as part of netconf reply:

<rpc-reply xmlns:junos="http://xml.juniper.net/junos/16.1R1/junos";>
    <configuration junos:changed-seconds="1495833922"
junos:changed-localtime="2017-05-26 21:25:22 UTC">
            <system>





* ...... <junos:comment>/* This is the comment */</junos:comment>
...........*


*This keyword doesn't exist in their yang model. *

I see this error:

*Unknown child(ren) node(s) detected, identified by:
(http://xml.juniper.net/junos/16.1R1/junos)comment
<http://xml.juniper.net/junos/16.1R1/junos%29comment>, in: container system*

Juniper has many type of annotations like: "inactive:...." how can we add
these to yang or make netconf to ignore them?

thanks !
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to