public abstract class MacEntryWalker extends Object
MacTable
describes a task that walks all the entries in the
specified MAC address tables.Modifier | Constructor and Description |
---|---|
protected |
MacEntryWalker()
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
found(TxContext ctx,
BridgeIdentifier<Vbridge> ident,
MacTableEntry ment)
Invoke when a MAC address table entry is detected.
|
void |
scan(TxContext ctx)
Scan MAC address table entries in all the MAC address tables.
|
void |
scan(TxContext ctx,
BridgeIdentifier<Vbridge> ident)
Scan MAC address table entries in the MAC address table for the
specified vBridge.
|
void |
scan(TxContext ctx,
String tname)
Scan MAC address table entries in all the MAC address tables in the
specified VTN.
|
public final void scan(TxContext ctx) throws VTNException
ctx
- A runtime context for transaction task.VTNException
- An error occurred.public final void scan(TxContext ctx, String tname) throws VTNException
ctx
- A runtime context for transaction task.tname
- The name of the target VTN.VTNException
- An error occurred.public final void scan(TxContext ctx, BridgeIdentifier<Vbridge> ident) throws VTNException
ctx
- A runtime context for transaction task.ident
- The identifier for the target vBridge.VTNException
- An error occurred.protected abstract void found(TxContext ctx, BridgeIdentifier<Vbridge> ident, MacTableEntry ment) throws VTNException
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.