Class McastMacsLocalRemoveCommand
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand<LocalMcastMacs,HwvtepGlobalAugmentation>
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.McastMacsLocalRemoveCommand
-
- All Implemented Interfaces:
TransactCommand<LocalMcastMacs>
public class McastMacsLocalRemoveCommand extends AbstractTransactCommand<LocalMcastMacs,HwvtepGlobalAugmentation>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
McastMacsLocalRemoveCommand.MacDependencyGetter
-
Field Summary
-
Fields inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
deviceTransaction, hwvtepOperationalState, TXUUID, updates
-
-
Constructor Summary
Constructors Constructor Description McastMacsLocalRemoveCommand(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<LocalMcastMacs>
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
-
McastMacsLocalRemoveCommand
public McastMacsLocalRemoveCommand(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<LocalMcastMacs> getData(HwvtepGlobalAugmentation augmentation)
- Overrides:
getData
in classAbstractTransactCommand<LocalMcastMacs,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<LocalMcastMacs,HwvtepGlobalAugmentation>
- Returns:
- true if this object needs to be deleted if its dependent object gets deleted
-
getDependencyGetter
protected UnMetDependencyGetter getDependencyGetter()
- Overrides:
getDependencyGetter
in classAbstractTransactCommand<LocalMcastMacs,HwvtepGlobalAugmentation>
-
isRemoveCommand
protected boolean isRemoveCommand()
- Overrides:
isRemoveCommand
in classAbstractTransactCommand<LocalMcastMacs,HwvtepGlobalAugmentation>
-
-