public final class FlowAddContext extends FlowModContext<VtnFlowId,VtnDataFlow>
FlowAddContext describes a runtime information for adding a
new VTN data flow.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG
Logger instance used for logging of flow installation.
|
| Constructor and Description |
|---|
FlowAddContext(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
VTNThreadPool thread,
VTNFlowBuilder builder)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
VTNFlowBuilder |
getFlowBuilder()
Return the VTN data flow builder.
|
PutFlowTxTask |
newDatastoreTask(TxQueue txq)
Create a new MD-SAL DS task that adds VTN data flows.
|
getContextFuture, getFlowService, getFlowThread, setFailure, setResultpublic static final org.slf4j.Logger LOG
public FlowAddContext(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
VTNThreadPool thread,
VTNFlowBuilder builder)
sfs - A SalFlowService instance.thread - A VTNThreadPool instance used to run tasks.builder - A VTNFlowBuilder instance.public VTNFlowBuilder getFlowBuilder()
VTNFlowBuilder instance.public PutFlowTxTask newDatastoreTask(TxQueue txq)
newDatastoreTask in class FlowModContext<VtnFlowId,VtnDataFlow>txq - A MD-SAL DS transaction queue.Copyright © 2018 OpenDaylight. All rights reserved.