public final class TenantFlowRemover extends Object implements FlowRemover
FlowRemover which removes all VTN data flows
in the specified VTN.| Constructor and Description |
|---|
TenantFlowRemover(String tname)
Construct a new instance.
|
TenantFlowRemover(VNodeIdentifier<?> ident)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return a brief description about this flow remover.
|
RemovedDataFlows<TenantFlowRemover> |
removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
public TenantFlowRemover(String tname)
tname - The name of the target VTN.public TenantFlowRemover(VNodeIdentifier<?> ident)
ident - The identifier for the virtual node in the target VTN.public RemovedDataFlows<TenantFlowRemover> 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.public String getDescription()
getDescription in interface FlowRemoverCopyright © 2018 OpenDaylight. All rights reserved.