Netconf get-config RPC modifications

asked 2015-11-20 05:04:07 -0800

sioannou gravatar image

Hi,

When a physical CPE is added that supports netconf ODL sends a netconf message to the device to get the configuration. The RPC is below <rpc message-id="m-0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <get-config> <source> <running/> </source> <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"/> </get-config> </rpc>

This is based on ietf-netconf.yang model. But different vendors have different requirements in the order the RPC is structured and how the message appears. There are vendors where the filter option requires an opening and closing tag (<filter options=""> </filter>).

Is there a way to modify the model? Does this require code changes?

I have been looking into the documents for references on how you can change this with no luck. Can anyone point me to the correct direction or provide an example.

Thanks,

Sotiris

edit retag flag offensive close merge delete