public final class EdgePortFlowRemover extends PortIndexFlowRemover
FlowRemover which removes
VTN data flows related to the specified edge network on a switch port.
Edge network is specified by a pair of SalPort instance and a
VLAN ID.
A SalPort instance specifies the target physical switch port.
This class scans all VTN data flows related to the specified port,
and removes data flows if the ingress or egress flow entry meets all
the following conditions.
| Constructor and Description |
|---|
EdgePortFlowRemover(String tname,
SalPort sport,
int vid)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return a brief description about this flow remover.
|
protected boolean |
select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
getFlowPort, getPathgetTenantName, removeDataFlowprotected boolean select(FlowCache fc) throws VTNException
select in class TenantIndexFlowRemover<PortFlows>fc - A FlowCache instance.true if the given data flow should be removed.
Otherwise false.VTNException - An error occurred.public String getDescription()
Copyright © 2018 OpenDaylight. All rights reserved.