Class UcastMacsLocalRemoveCommand
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand<LocalUcastMacs,HwvtepGlobalAugmentation>
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.UcastMacsLocalRemoveCommand
-
- All Implemented Interfaces:
TransactCommand<LocalUcastMacs>
public class UcastMacsLocalRemoveCommand extends AbstractTransactCommand<LocalUcastMacs,HwvtepGlobalAugmentation>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UcastMacsLocalRemoveCommand.MacDependencyGetter
-
Field Summary
-
Fields inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
deviceTransaction, hwvtepOperationalState, TXUUID, updates
-
-
Constructor Summary
Constructors Constructor Description UcastMacsLocalRemoveCommand(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
cascadeDelete()
Tells if this object needs to be deleted if its dependent object gets deleted Ex : LocalUcastMac and LocalMacstMac.void
execute(TransactionBuilder transaction)
protected List<LocalUcastMacs>
getData(HwvtepGlobalAugmentation augmentation)
protected UnMetDependencyGetter
getDependencyGetter()
protected boolean
isRemoveCommand()
-
Methods inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
areEqual, augmentation, doDeviceTransaction, extractRemoved, extractUpdated, fetchDeviceData, getChanges, getClassType, getData, getDataBroker, getDeviceInfo, getDeviceOpData, getDeviceTransaction, getKeyStr, getNodeKeyStr, getOperationalState, getTableReader, onCommandFailed, onCommandSucceeded, onConfigUpdate, onFailure, onSuccess
-
-
-
-
Constructor Detail
-
UcastMacsLocalRemoveCommand
public UcastMacsLocalRemoveCommand(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)
-
getData
protected List<LocalUcastMacs> getData(HwvtepGlobalAugmentation augmentation)
- Overrides:
getData
in classAbstractTransactCommand<LocalUcastMacs,HwvtepGlobalAugmentation>
-
cascadeDelete
protected boolean cascadeDelete()
Description copied from class:AbstractTransactCommand
Tells if this object needs to be deleted if its dependent object gets deleted Ex : LocalUcastMac and LocalMacstMac.- Overrides:
cascadeDelete
in classAbstractTransactCommand<LocalUcastMacs,HwvtepGlobalAugmentation>
- Returns:
- true if this object needs to be deleted if its dependent object gets deleted
-
getDependencyGetter
protected UnMetDependencyGetter getDependencyGetter()
- Overrides:
getDependencyGetter
in classAbstractTransactCommand<LocalUcastMacs,HwvtepGlobalAugmentation>
-
isRemoveCommand
protected boolean isRemoveCommand()
- Overrides:
isRemoveCommand
in classAbstractTransactCommand<LocalUcastMacs,HwvtepGlobalAugmentation>
-
-