public final class NodeFlowRemover extends IndexFlowRemover<NodeFlows,RemovedDataFlows>
FlowRemover which removes
VTN data flows related to the specified switch.
This flow remover affects flow entries in all the VTNs.
| Constructor and Description |
|---|
NodeFlowRemover(SalNode snode)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(RemovedDataFlows removed,
FlowCache fc)
Invoked when the given data flow has been removed.
|
String |
getDescription()
Return a brief description about this flow remover.
|
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<NodeFlows> |
getPath(VtnFlowTableKey key)
Return the path to the node flow index to be removed.
|
RemovedDataFlows<NodeFlowRemover> |
removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
removeprotected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<NodeFlows> getPath(VtnFlowTableKey key)
getPath in class IndexFlowRemover<NodeFlows,RemovedDataFlows>key - A VtnFlowTableKey instance which specifies the
target VTN flow table.protected void add(RemovedDataFlows removed, FlowCache fc)
add in class IndexFlowRemover<NodeFlows,RemovedDataFlows>removed - A RemovedFlows instance to store flow entries
to be removed.fc - A FlowCache instance which contains VTN data
flow to be removed.public RemovedDataFlows<NodeFlowRemover> removeDataFlow(TxContext ctx) throws VTNException
ctx - A runtime context for transaction task.RemovedFlows instance which represents removed flow
entries.VTNException - An error occurred.public String getDescription()
Copyright © 2018 OpenDaylight. All rights reserved.