public final class FlatBatchFlowAdapters extends Object
| Modifier and Type | Method and Description |
|---|---|
static AddFlowsBatchInput |
adaptFlatBatchAddFlow(BatchPlanStep planStep,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef node)
Adapt flat batch add flow.
|
static RemoveFlowsBatchInput |
adaptFlatBatchRemoveFlow(BatchPlanStep planStep,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef node)
Adapt flat batch remove flow.
|
static UpdateFlowsBatchInput |
adaptFlatBatchUpdateFlow(BatchPlanStep planStep,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef node)
Adapt flat batch update flow.
|
static <T extends BatchFlowOutputListGrouping> |
convertFlowBatchFutureForChain(Future<org.opendaylight.yangtools.yang.common.RpcResult<T>> resultUpdateFlowFuture,
int currentOffset)
Shortcut for
convertBatchFlowResult(int) with conversion ListenableFuture. |
public static AddFlowsBatchInput adaptFlatBatchAddFlow(BatchPlanStep planStep, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef node)
planStep - batch step containing changes of the same typenode - pointer for RPC routing.opendaylight.flows.service.rev160314.SalFlowsBatchService#addFlowsBatch(AddFlowsBatchInput)public static RemoveFlowsBatchInput adaptFlatBatchRemoveFlow(BatchPlanStep planStep, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef node)
planStep - batch step containing changes of the same typenode - pointer for RPC routing.opendaylight.flows.service.rev160314.SalFlowsBatchService#removeFlowsBatch(RemoveFlowsBatchInput)public static UpdateFlowsBatchInput adaptFlatBatchUpdateFlow(BatchPlanStep planStep, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef node)
planStep - batch step containing changes of the same typenode - pointer for RPC routing.opendaylight.flows.service.rev160314.SalFlowsBatchService#updateFlowsBatch(UpdateFlowsBatchInput)public static <T extends BatchFlowOutputListGrouping> com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ProcessFlatBatchOutput>> convertFlowBatchFutureForChain(Future<org.opendaylight.yangtools.yang.common.RpcResult<T>> resultUpdateFlowFuture, int currentOffset)
convertBatchFlowResult(int) with conversion ListenableFuture.T - exact type of batch flow outputresultUpdateFlowFuture - batch flow rpc-result (add/remove/update)currentOffset - offset of current batch plan step with respect to entire chain of stepsProcessFlatBatchOutputCopyright © 2019 OpenDaylight. All rights reserved.