B - The type of the virtual bridge that contains the target
virtual interface.public final class RemovePortMapTask<B extends VtnPortMappableBridge> extends AbstractRpcTask<VtnUpdateType> implements RpcOutputGenerator<VtnUpdateType,RemovePortMapOutput>
RemovePortMapTask describes the MD-SAL datastore transaction task
that removes the port mapping from the specified virtual interface.create(RemovePortMapInput)| Modifier and Type | Method and Description |
|---|---|
static RemovePortMapTask<?> |
create(RemovePortMapInput input)
Construct a new task that removes the port mapping from the specified
virtual interface.
|
RemovePortMapOutput |
createOutput(VtnUpdateType result)
Generate the output of the RPC request.
|
protected VtnUpdateType |
execute(TxContext ctx)
Remove the port mapping from the specified virtual interface.
|
Class<RemovePortMapOutput> |
getOutputType()
Return a class which indicates the type of the RPC output.
|
needErrorLogaddBackgroundTask, execute, getBackgroundTasks, getMaxRetry, onFailure, onSuccesspublic static RemovePortMapTask<?> create(RemovePortMapInput input) throws RpcException
input - A RemovePortMapInput instance.RemovePortMapTask instance associated with the task
that removes the port mapping.RpcException - The given input contains invalid value.protected VtnUpdateType execute(TxContext ctx) throws VTNException
execute in class AbstractTxTask<VtnUpdateType>ctx - MD-SAL datastore transaction context.VTNException - An error occurred.public Class<RemovePortMapOutput> getOutputType()
getOutputType in interface RpcOutputGenerator<VtnUpdateType,RemovePortMapOutput>public RemovePortMapOutput createOutput(VtnUpdateType result)
createOutput in interface RpcOutputGenerator<VtnUpdateType,RemovePortMapOutput>result - The result of the RPC main procedure.Copyright © 2018 OpenDaylight. All rights reserved.