B - The type of the virtual bridge that contains the target
virtual interface.public final class SetPortMapTask<B extends VtnPortMappableBridge> extends AbstractRpcTask<VtnUpdateType> implements RpcOutputGenerator<VtnUpdateType,SetPortMapOutput>
SetPortMapTask describes the MD-SAL datastore transaction task
that configures the port mapping in the specified virtual interface.create(SetPortMapInput)| Modifier and Type | Method and Description |
|---|---|
static SetPortMapTask<?> |
create(SetPortMapInput input)
Construct a new task that configures the port mapping in the specified
virtual interface.
|
SetPortMapOutput |
createOutput(VtnUpdateType result)
Generate the output of the RPC request.
|
protected VtnUpdateType |
execute(TxContext ctx)
Configure the port mapping in the specified virtual interface.
|
Class<SetPortMapOutput> |
getOutputType()
Return a class which indicates the type of the RPC output.
|
needErrorLogaddBackgroundTask, execute, getBackgroundTasks, getMaxRetry, onFailure, onSuccesspublic static SetPortMapTask<?> create(SetPortMapInput input) throws RpcException
input - A SetPortMapInput instance.SetPortMapTask instance associated with the task
that configures 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<SetPortMapOutput> getOutputType()
getOutputType in interface RpcOutputGenerator<VtnUpdateType,SetPortMapOutput>public SetPortMapOutput createOutput(VtnUpdateType result)
createOutput in interface RpcOutputGenerator<VtnUpdateType,SetPortMapOutput>result - The result of the RPC main procedure.Copyright © 2018 OpenDaylight. All rights reserved.