Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1148

Clean up NetconfDeviceTopologyAdapter datastore lifecycle

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0, 6.0.3
    • netconf-topology

    Description

      NetconfDeviceTopologyAdapter is using 'mergeParentStructure' operations to ensure the underlying topology is already present in the datastore. This is wasteful, as this is an invariant that the callers should be taking care of before instantiating the adapter.

      Furthermore, the adapter performs writes and merges which seem to be overlapping, perhaps introducing state without regard of what has been done previously. We should optimize this by changing only what needs to be changed w.r.t. baseline.

      Attachments

        Issue Links

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

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: