Class UcastMacsRemoteRemoveCommand
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
- org.opendaylight.ovsdb.hwvtepsouthbound.transact.UcastMacsRemoteRemoveCommand
-
- All Implemented Interfaces:
TransactCommand<RemoteUcastMacs>
public class UcastMacsRemoteRemoveCommand extends AbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
deviceTransaction, hwvtepOperationalState, TXUUID
-
-
Constructor Summary
Constructors Constructor Description UcastMacsRemoteRemoveCommand(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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
areEqual(RemoteUcastMacs remoteUcastMacs1, RemoteUcastMacs remoteUcastMacs2)
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, RemoteUcastMacs mac, org.opendaylight.yangtools.yang.binding.InstanceIdentifier macKey, Object... extraData)
void
execute(TransactionBuilder transaction)
protected Map<RemoteUcastMacsKey,RemoteUcastMacs>
getData(HwvtepGlobalAugmentation augmentation)
protected String
getKeyStr(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RemoteUcastMacs> iid)
protected boolean
isDeleteCmd()
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, List<RemoteUcastMacs> macs)
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, RemoteUcastMacs remoteMcastMac, org.opendaylight.yangtools.yang.binding.InstanceIdentifier macKey, Object... extraData)
void
onSuccess(TransactionBuilder tx)
-
Methods inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
addJobToQueue, augmentation, cascadeDelete, clearConfigData, extractRemoved, extractUpdated, fetchDeviceData, getChanges, getClassType, getClone, getConfigData, getConnectionInstance, getData, getDataBroker, getDependencyGetter, getDeviceInfo, getDeviceOpData, getDeviceTransaction, getLsKeyStr, getNodeKeyStr, getOperationalState, getTableReader, markKeyAsInTransit, newOperState, onCommandFailed, onCommandSucceeded, onFailure, updateConfigData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.ovsdb.hwvtepsouthbound.transact.TransactCommand
retry
-
-
-
-
Constructor Detail
-
UcastMacsRemoteRemoveCommand
public UcastMacsRemoteRemoveCommand(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)
-
-
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, List<RemoteUcastMacs> macs)
-
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, RemoteUcastMacs remoteMcastMac, org.opendaylight.yangtools.yang.binding.InstanceIdentifier macKey, Object... extraData)
- Specified by:
onConfigUpdate
in interfaceTransactCommand<RemoteUcastMacs>
- Overrides:
onConfigUpdate
in classAbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,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, RemoteUcastMacs mac, org.opendaylight.yangtools.yang.binding.InstanceIdentifier macKey, Object... extraData)
- Specified by:
doDeviceTransaction
in interfaceTransactCommand<RemoteUcastMacs>
- Overrides:
doDeviceTransaction
in classAbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
getData
protected Map<RemoteUcastMacsKey,RemoteUcastMacs> getData(HwvtepGlobalAugmentation augmentation)
- Overrides:
getData
in classAbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
areEqual
protected boolean areEqual(RemoteUcastMacs remoteUcastMacs1, RemoteUcastMacs remoteUcastMacs2)
- Overrides:
areEqual
in classAbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
onSuccess
public void onSuccess(TransactionBuilder tx)
- Specified by:
onSuccess
in interfaceTransactCommand<RemoteUcastMacs>
- Overrides:
onSuccess
in classAbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
isDeleteCmd
protected boolean isDeleteCmd()
- Overrides:
isDeleteCmd
in classAbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
getKeyStr
protected String getKeyStr(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<RemoteUcastMacs> iid)
- Overrides:
getKeyStr
in classAbstractTransactCommand<RemoteUcastMacs,RemoteUcastMacsKey,HwvtepGlobalAugmentation>
-
-