public final class VNodeMapCleaner extends Object implements MapCleaner, MacEntryFilter
VNodeMapCleaner
purges network resources originated by the
specified virtual node.Constructor and Description |
---|
VNodeMapCleaner(VNodeIdentifier<?> ident)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MacTableEntry ment)
Test if the specified MAC address table entry should be accepted or not.
|
void |
purge(TxContext ctx,
String tname)
Purge network caches originated by the specified virtual node.
|
public VNodeMapCleaner(VNodeIdentifier<?> ident)
ident
- The identifier for the target virtual node.public void purge(TxContext ctx, String tname) throws VTNException
purge
in interface MapCleaner
ctx
- A runtime context for transaction task.tname
- Not used. Tenant name configured in this instance
is always used.VTNException
- An error occurred.public boolean accept(MacTableEntry ment)
accept
in interface MacEntryFilter
ment
- A MacTableEntry
instance to be tested.true
if the specified entry should be accepted.
false
if the specified entry should be filtered out.Copyright © 2018 OpenDaylight. All rights reserved.