T - The type of the flow index.R - The type of instance which specifies flow entries to be removed.public abstract class IndexFlowRemover<T extends FlowIdSet,R extends RemovedFlows> extends Object implements FlowRemover
FlowRemover which removes all VTN data flows
in the specified flow index.
This flow remover affects flow entries in all the VTNs.
| Constructor and Description |
|---|
IndexFlowRemover() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
add(R removed,
FlowCache fc)
Invoked when the given data flow has been removed.
|
protected abstract org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> |
getPath(VtnFlowTableKey key)
Return the path to the flow index to be removed.
|
protected void |
remove(R removed,
org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
VtnFlowTable table)
Remove VTN data flows related to the target node in the given VTN
flow table.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, removeDataFlowprotected abstract org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> getPath(VtnFlowTableKey key)
key - A VtnFlowTableKey instance which specifies the
target VTN flow table.protected abstract void add(R removed, FlowCache fc)
removed - A RemovedFlows instance to store flow entries
to be removed.fc - A FlowCache instance which contains VTN data
flow to be removed.protected final void remove(R removed, org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx, VtnFlowTable table) throws VTNException
removed - A RemovedFlows instance to store flow entries
to be removed.tx - A ReadWriteTransaction instance.table - The target VTN flow table.VTNException - An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.