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>
-
- All Known Implementing Classes:
LocalMcastCmd
,LocalUcastCmd
,LogicalSwitchesCmd
,MergeCommand
,PhysicalLocatorCmd
,RemoteMcastCmd
,RemoteUcastCmd
,SwitchesCmd
,TerminationPointCmd
,TunnelCmd
,TunnelIpCmd
public 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.mdsal.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 objectexistingData
- dataObject which are already exisitngsrc
- dataObjects of sourcenodePath
- 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.mdsal.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 exisitngupdatedSrc
- updated data sourceorigSrc
- original data sourcenodePath
- nodePath of desttx
- 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 objectsrc
- builder which are to be merged in destinationnodePath
- nodePath of dest
-
-