Class LogicalSwitchUcastsRemoveCommand
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.LogicalSwitchUcastsRemoveCommand
-
- All Implemented Interfaces:
TransactCommand<LogicalSwitches>
public final class LogicalSwitchUcastsRemoveCommand extends AbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
deviceTransaction, hwvtepOperationalState, TXUUID
-
-
Constructor Summary
Constructors Constructor Description LogicalSwitchUcastsRemoveCommand(HwvtepOperationalState state, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes, List<LogicalSwitches> deletedLs, LogicalSwitches logicalSwitches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
areEqual(LogicalSwitches logicalSwitches1, LogicalSwitches logicalSwitches2)
void
execute(TransactionBuilder transaction)
protected Map<LogicalSwitchesKey,LogicalSwitches>
getData(HwvtepGlobalAugmentation augmentation)
protected String
getKeyStr(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid)
protected boolean
isDeleteCmd()
void
onFailure(TransactionBuilder tx)
void
onSuccess(TransactionBuilder tx)
boolean
retry()
-
Methods inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
addJobToQueue, augmentation, cascadeDelete, clearConfigData, doDeviceTransaction, extractRemoved, extractUpdated, fetchDeviceData, getChanges, getClassType, getClone, getConfigData, getConnectionInstance, getData, getDataBroker, getDependencyGetter, getDeviceInfo, getDeviceOpData, getDeviceTransaction, getLsKeyStr, getNodeKeyStr, getOperationalState, getTableReader, markKeyAsInTransit, newOperState, onCommandFailed, onCommandSucceeded, onConfigUpdate, updateConfigData
-
-
-
-
Constructor Detail
-
LogicalSwitchUcastsRemoveCommand
public LogicalSwitchUcastsRemoveCommand(HwvtepOperationalState state, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes, List<LogicalSwitches> deletedLs, LogicalSwitches logicalSwitches)
-
-
Method Detail
-
execute
public void execute(TransactionBuilder transaction)
-
getData
protected Map<LogicalSwitchesKey,LogicalSwitches> getData(HwvtepGlobalAugmentation augmentation)
- Overrides:
getData
in classAbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
areEqual
protected boolean areEqual(LogicalSwitches logicalSwitches1, LogicalSwitches logicalSwitches2)
- Overrides:
areEqual
in classAbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
onSuccess
public void onSuccess(TransactionBuilder tx)
- Specified by:
onSuccess
in interfaceTransactCommand<LogicalSwitches>
- Overrides:
onSuccess
in classAbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
onFailure
public void onFailure(TransactionBuilder tx)
- Specified by:
onFailure
in interfaceTransactCommand<LogicalSwitches>
- Overrides:
onFailure
in classAbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
retry
public boolean retry()
-
isDeleteCmd
protected boolean isDeleteCmd()
- Overrides:
isDeleteCmd
in classAbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
getKeyStr
protected String getKeyStr(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid)
- Overrides:
getKeyStr
in classAbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
-