public final class RemoveMacEntryTask extends CompositeTxTask<VtnUpdateType,RemoveMacTask> implements RpcOutputGenerator<List<VtnUpdateType>,RemoveMacEntryOutput>
RemoveMacEntryTask describes the MD-SAL datastore transaction task
that removes the given MAC addresses from the MAC address table in the
specified vBridge.create(VBridgeIdentifier, List)| Modifier and Type | Method and Description |
|---|---|
static RemoveMacEntryTask |
create(VBridgeIdentifier ident,
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> addrs)
Construct a new task that removes all the given MAC addresses from
the MAC address table.
|
RemoveMacEntryOutput |
createOutput(List<VtnUpdateType> result)
Generate the output of the RPC request.
|
Class<RemoveMacEntryOutput> |
getOutputType()
Return a class which indicates the type of the RPC output.
|
protected void |
onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
execute, getSubTasks, needErrorLog, onCompleted, onFailure, onSuccessaddBackgroundTask, execute, getBackgroundTasks, getMaxRetrypublic static RemoveMacEntryTask create(VBridgeIdentifier ident, List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> addrs) throws RpcException
ident - A VBridgeIdentifier instance that specifies the
target vBridge.addrs - A list of MAC addresses to be removed.
The caller must ensure that the list is not empty.RemoveMacEntryTask instance associated with the task
that removes the given MAC addresses from the MAC address
table.RpcException - An error occurred.protected void onStarted(TxContext ctx) throws VTNException
onStarted in class CompositeTxTask<VtnUpdateType,RemoveMacTask>ctx - A runtime context for transaction task.VTNException - An error occurred.public Class<RemoveMacEntryOutput> getOutputType()
getOutputType in interface RpcOutputGenerator<List<VtnUpdateType>,RemoveMacEntryOutput>public RemoveMacEntryOutput createOutput(List<VtnUpdateType> result)
createOutput in interface RpcOutputGenerator<List<VtnUpdateType>,RemoveMacEntryOutput>result - The result of the RPC main procedure.Copyright © 2018 OpenDaylight. All rights reserved.