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

Clean up NetconfDeviceTopologyAdapter datastore lifecycle

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: