public final class EdgeHostFlowRemover extends PortIndexFlowRemover
FlowRemover which removes
VTN data flows related to the specified layer 2 host.
The layer 2 host is specified by a pair of MacVlan and
SalPort instances.
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 matches the
given MacVlan instance.
| Constructor and Description |
|---|
EdgeHostFlowRemover(String tname,
L2Host host)
Construct a new instance.
|
EdgeHostFlowRemover(String tname,
MacVlan mvlan,
SalPort sport)
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, removeDataFlowpublic EdgeHostFlowRemover(String tname, L2Host host)
tname - The name of the target VTN.host - A L2Host instance which indicates the layer 2
host.protected 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.