public final class SetPathCostTask extends PathCostTask<SetCostTask,SetPathCostOutput>
SetPathCostTask
describes the MD-SAL transaction task that set
all the specified link cost configurations into the path policy
configuration.create(TopologyGraph, SetPathCostInput)
Modifier and Type | Method and Description |
---|---|
static SetPathCostTask |
create(org.opendaylight.vtn.manager.internal.routing.TopologyGraph topo,
SetPathCostInput input)
Construct a new task that set all the given link cost configurations
into the given path policy.
|
SetPathCostOutput |
createOutput(List<VtnUpdateType> result)
Generate the output of the RPC request.
|
Class<SetPathCostOutput> |
getOutputType()
Return a class which indicates the type of the RPC output.
|
onStarted, onSuccess
execute, getSubTasks, needErrorLog, onCompleted, onFailure
addBackgroundTask, execute, getBackgroundTasks, getMaxRetry
public static SetPathCostTask create(org.opendaylight.vtn.manager.internal.routing.TopologyGraph topo, SetPathCostInput input) throws RpcException
topo
- The network topology graph.input
- A SetPathCostInput
instance.SetPathCostTask
instance associated with the task
that set the given link cost configuration.RpcException
- The given input contains invalid value.public Class<SetPathCostOutput> getOutputType()
public SetPathCostOutput createOutput(List<VtnUpdateType> result)
result
- The result of the RPC main procedure.Copyright © 2018 OpenDaylight. All rights reserved.