Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1012

Deleting a node from the inventory does not remove it from the configuration

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • config
    • 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[

      {(urn:opendaylight:inventory?revision=2013-08-19)id=vppX}

      ]

      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>

      ...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            wojdec Wojciech Dec
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: