Hi All,

I'm having trouble to configure a netconf device correctly. I need to 
constantly add a new piece of config and merge with existing one on a netconf 
device.  the ODL netconf connector talks to the device through NETCONF.  I'm 
calling restapiUrl of a mounted netconf device from direct graph as below:

<execute plugin='`org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode'` 
method='`sendRequest'`>
        <parameter name='restapiUser' value='`admin`'/>
        <parameter name='responsePrefix' value='`restResponse`'/>
        <parameter name='restapiUrl' 
value='`http://10.212.1.44:32420/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673/yang-ext:mount/terastream:l3vpns/`'/<http://10.212.1.44:32420/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673/yang-ext:mount/terastream:l3vpns/%60'/>>
        <parameter name='format' value='`xml`'/> <parameter 
name='templateFileName' value='`/opt/onap/sdnc/data/l3vpnhub.xml`'/>
        <parameter name='httpMethod' value='`PUT`'/>
        <parameter name='restapiPassword' 
value='`Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U`'/>

The method I use is PUT. Every time I send the call from sli-api execute-graph, 
it wipes out the existing config on the netconf device and completely replaces 
it with the latest one. It doesn't do merge operation at all. I also tried POST 
but it doesn't work not even replace.

Can ODL/SDNC do config merge operation? If so how?

Thanks!
Steve

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20733): https://lists.onap.org/g/onap-discuss/message/20733
Mute This Topic: https://lists.onap.org/mt/73105606/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to