Class LogicalSwitchUpdateCommand
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
org.opendaylight.ovsdb.hwvtepsouthbound.transact.LogicalSwitchUpdateCommand
- All Implemented Interfaces:
TransactCommand<LogicalSwitches>
public class LogicalSwitchUpdateCommand
extends AbstractTransactCommand<LogicalSwitches,LogicalSwitchesKey,HwvtepGlobalAugmentation>
-
Field Summary
Fields inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.AbstractTransactCommand
deviceTransaction, hwvtepOperationalState, TXUUID
-
Constructor Summary
ConstructorDescriptionLogicalSwitchUpdateCommand
(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
Modifier and TypeMethodDescriptionprotected 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 Map<LogicalSwitchesKey,
LogicalSwitches> getData
(HwvtepGlobalAugmentation augmentation) protected String
getKeyStr
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid) 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) void
updateLogicalSwitch
(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<LogicalSwitches> lswitchList) 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, isDeleteCmd, markKeyAsInTransit, newOperState, onCommandFailed, onCommandSucceeded, onFailure, onSuccess, ops, 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 Details
-
LogicalSwitchUpdateCommand
public LogicalSwitchUpdateCommand(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 Details
-
execute
-
updateLogicalSwitch
public void updateLogicalSwitch(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<LogicalSwitches> lswitchList) -
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,
LogicalSwitchesKey, 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,
LogicalSwitchesKey, HwvtepGlobalAugmentation>
-
getData
- Overrides:
getData
in classAbstractTransactCommand<LogicalSwitches,
LogicalSwitchesKey, HwvtepGlobalAugmentation>
-
areEqual
- Overrides:
areEqual
in classAbstractTransactCommand<LogicalSwitches,
LogicalSwitchesKey, HwvtepGlobalAugmentation>
-
getKeyStr
protected String getKeyStr(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LogicalSwitches> iid) - Overrides:
getKeyStr
in classAbstractTransactCommand<LogicalSwitches,
LogicalSwitchesKey, HwvtepGlobalAugmentation>
-