public abstract class ScanFlowRemover extends Object implements FlowRemover
FlowRemover which determines VTN data flows
to be removed by a sequential scan.| Constructor and Description |
|---|
ScanFlowRemover() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<VtnFlowTable> |
getFlowTables(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx)
Return a list of VTN flow tables to be scanned.
|
RemovedDataFlows<ScanFlowRemover> |
removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
protected abstract boolean |
select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionprotected abstract List<VtnFlowTable> getFlowTables(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx) throws VTNException
tx - A ReadWriteTransaction instance.VTNException - An error occurred.protected abstract boolean select(FlowCache fc) throws VTNException
fc - A FlowCache instance.true if the given data flow should be removed.
Otherwise false.VTNException - An error occurred.public final RemovedDataFlows<ScanFlowRemover> removeDataFlow(TxContext ctx) throws VTNException
removeDataFlow in interface FlowRemoverctx - A runtime context for transaction task.RemovedFlows instance which represents removed flow
entries.VTNException - An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.