Interface IMergeCommand<T extends org.opendaylight.yangtools.yang.binding.DataObject,​Y extends org.opendaylight.yangtools.concepts.Builder,​Z extends org.opendaylight.yangtools.yang.binding.DataObject>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void mergeConfigData​(Y dst, Z src, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodePath)
      Abstract function to merge data from src to dst in Config Topology.
      void mergeOperationalData​(Y dst, Z existingData, Z src, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodePath)
      Abstract function to merge data from src to dst in Operational Topology.
      void mergeOpUpdate​(Z existingData, Z updatedSrc, Z origSrc, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodePath, org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx)
      Abstract function to update data from src to dst in Operational Topology.
    • Method Detail

      • mergeOperationalData

        void mergeOperationalData​(Y dst,
                                  Z existingData,
                                  Z src,
                                  org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodePath)
        Abstract function to merge data from src to dst in Operational Topology. while existing data helps in keeping track of data only updated
        Parameters:
        dst - Builder which will be used to build concrete object
        existingData - dataObject which are already exisitng
        src - dataObjects of source
        nodePath - nodePath of dest
      • mergeOpUpdate

        void mergeOpUpdate​(Z existingData,
                           Z updatedSrc,
                           Z origSrc,
                           org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodePath,
                           org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx)
        Abstract function to update data from src to dst in Operational Topology. while existing data helps in keeping track of data only updated
        Parameters:
        existingData - dataObject which are already exisitng
        updatedSrc - updated data source
        origSrc - original data source
        nodePath - nodePath of dest
        tx - ReadWriteTransaction
      • mergeConfigData

        void mergeConfigData​(Y dst,
                             Z src,
                             org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodePath)
        Abstract function to merge data from src to dst in Config Topology.
        Parameters:
        dst - builder which will be used to build concrete object
        src - builder which are to be merged in destination
        nodePath - nodePath of dest