Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
Helium
-
None
-
None
-
Operating System: All
Platform: All
Description
Using the stock Helium build, when a Netconf node is added using Restconf into the inventory and successively deleted, the ODL's "current/controller.currentconfig.xml" does not get updated.
As a result, on restarting, the deleted node shows up again in the inventory.
Eg After the following:
2014-11-11 13:14:46,628 | INFO | qtp854362504-69 | BrokerFacade | 234 - org.opendaylight.controller.sal-rest-connector - 1.1.0.Helium | Delete CONFIGURATION via Restconf: /(urn:opendaylight:inventory?revision=2013-08-19)nodes/node/node[
]
The config file still shows:
<module>
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">prefix:sal-netconf-connector</type>
<name>vppX</name>
<port xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">2022</port>
<connection-timeout-millis xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">20000</connection-timeout-millis>
<between-attempts-timeout-millis xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">2000</between-attempts-timeout-millis>
...