Class LogicalSwitchRemoveCommand
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.LogicalSwitchRemoveCommand
-
- All Implemented Interfaces:
TransactCommand<LogicalSwitches>
public class LogicalSwitchRemoveCommand extends AbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
deviceTransaction, hwvtepOperationalState, TXUUID, updates
-
-
Constructor Summary
Constructors Constructor Description LogicalSwitchRemoveCommand(HwvtepOperationalState state, Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
areEqual(LogicalSwitches sw1, LogicalSwitches sw2)
void
doDeviceTransaction(TransactionBuilder transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> instanceIdentifier, LogicalSwitches lswitch, org.opendaylight.yangtools.yang.binding.InstanceIdentifier lsKey, Object... extraData)
void
execute(TransactionBuilder transaction)
protected List<LogicalSwitches>
getData(HwvtepGlobalAugmentation augmentation)
protected boolean
isRemoveCommand()
void
onCommandSucceeded()
void
onConfigUpdate(TransactionBuilder transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid, LogicalSwitches lswitch, org.opendaylight.yangtools.yang.binding.InstanceIdentifier lsKey, Object... extraData)
-
Methods inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
augmentation, cascadeDelete, extractRemoved, extractUpdated, fetchDeviceData, getChanges, getClassType, getData, getDataBroker, getDependencyGetter, getDeviceInfo, getDeviceOpData, getDeviceTransaction, getKeyStr, getNodeKeyStr, getOperationalState, getTableReader, onCommandFailed, onFailure, onSuccess
-
-
-
-
Constructor Detail
-
LogicalSwitchRemoveCommand
public LogicalSwitchRemoveCommand(HwvtepOperationalState state, Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> changes)
-
-
Method Detail
-
execute
public void execute(TransactionBuilder transaction)
-
onConfigUpdate
public void onConfigUpdate(TransactionBuilder transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid, LogicalSwitches lswitch, org.opendaylight.yangtools.yang.binding.InstanceIdentifier lsKey, Object... extraData)
- Specified by:
onConfigUpdate
in interfaceTransactCommand<LogicalSwitches>
- Overrides:
onConfigUpdate
in classAbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
doDeviceTransaction
public void doDeviceTransaction(TransactionBuilder transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> instanceIdentifier, LogicalSwitches lswitch, org.opendaylight.yangtools.yang.binding.InstanceIdentifier lsKey, Object... extraData)
- Specified by:
doDeviceTransaction
in interfaceTransactCommand<LogicalSwitches>
- Overrides:
doDeviceTransaction
in classAbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
getData
protected List<LogicalSwitches> getData(HwvtepGlobalAugmentation augmentation)
- Overrides:
getData
in classAbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
areEqual
protected boolean areEqual(LogicalSwitches sw1, LogicalSwitches sw2)
- Overrides:
areEqual
in classAbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
isRemoveCommand
protected boolean isRemoveCommand()
- Overrides:
isRemoveCommand
in classAbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
onCommandSucceeded
public void onCommandSucceeded()
- Overrides:
onCommandSucceeded
in classAbstractTransactCommand<LogicalSwitches,HwvtepGlobalAugmentation>
-
-