import org.opendaylight.mdsal.binding.api.DataObjectModification;
import org.opendaylight.mdsal.binding.util.Datastore.Configuration;
+import org.opendaylight.mdsal.binding.util.ManagedNewTransactionRunner;
import org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction;
import org.opendaylight.netvirt.elan.l2gw.ha.merge.GlobalAugmentationMerger;
import org.opendaylight.netvirt.elan.l2gw.ha.merge.GlobalNodeMerger;
*/
public void copyHAGlobalUpdateToChild(InstanceIdentifier<Node> haChildNodeId,
DataObjectModification<Node> mod,
- TypedReadWriteTransaction<Configuration> tx) {
+ TypedReadWriteTransaction<Configuration> tx,
+ ManagedNewTransactionRunner txRunner) {
globalAugmentationMerger.mergeConfigUpdate(haChildNodeId,
- mod.getModifiedAugmentation(HwvtepGlobalAugmentation.class), tx);
- globalNodeMerger.mergeConfigUpdate(haChildNodeId, mod, tx);
+ mod.getModifiedAugmentation(HwvtepGlobalAugmentation.class), tx, txRunner);
+ globalNodeMerger.mergeConfigUpdate(haChildNodeId, mod, tx, txRunner);
}
/**
*/
public void copyHAPSUpdateToChild(InstanceIdentifier<Node> haChildNodeId,
DataObjectModification<Node> mod,
- TypedReadWriteTransaction<Configuration> tx) {
+ TypedReadWriteTransaction<Configuration> tx,
+ ManagedNewTransactionRunner txRunner) {
psAugmentationMerger.mergeConfigUpdate(haChildNodeId,
- mod.getModifiedAugmentation(PhysicalSwitchAugmentation.class), tx);
- psNodeMerger.mergeConfigUpdate(haChildNodeId, mod, tx);
+ mod.getModifiedAugmentation(PhysicalSwitchAugmentation.class), tx, txRunner);
+ psNodeMerger.mergeConfigUpdate(haChildNodeId, mod, tx, txRunner);
}
}