public final class MacEntryRemover extends MacEntryWalker
MacEntryRemover
describes a task that removes MAC address table
entries by scanning MAC address tables.Constructor and Description |
---|
MacEntryRemover(MacEntryFilter filter)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
found(TxContext ctx,
BridgeIdentifier<Vbridge> ident,
MacTableEntry ment)
Invoke when a MAC address table entry is detected.
|
static void |
remove(TxContext ctx,
BridgeIdentifier<Vbridge> ident,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Remove the specified MAC address from the MAC address table associated
with the specified vBridge.
|
scan, scan, scan
public MacEntryRemover(MacEntryFilter filter)
filter
- A MacEntryFilter
that selects MAC address table
entries to be removed.public static void remove(TxContext ctx, BridgeIdentifier<Vbridge> ident, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac) throws VTNException
ctx
- A runtime context for transaction task.ident
- The identifier for the target vBridge.mac
- A MAC address.VTNException
- An error occurred.protected void found(TxContext ctx, BridgeIdentifier<Vbridge> ident, MacTableEntry ment) throws VTNException
found
in class MacEntryWalker
ctx
- A runtime context for transaction task.ident
- The identifier for the target vBridge.ment
- A MacTableEntry
instance.VTNException
- An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.