public final class VlanMapRegistry extends VirtualMapRegistry<VlanMapCleaner>
VlanMapRegistry describes a context for registering VLAN mapping.| Constructor and Description |
|---|
VlanMapRegistry(TxContext ctx,
VlanMapIdentifier ident)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanUpImpl(TxContext ctx)
This method does nothing.
|
void |
register(NodeVlan nvlan,
boolean purge)
Register a new VLAN mapping.
|
addMapCleaner, cleanUp, getContext, getMapCleanerpublic VlanMapRegistry(TxContext ctx, VlanMapIdentifier ident)
ctx - A runtime context for transaction task.ident - The identifier for the target VLAN mapping.public void register(NodeVlan nvlan, boolean purge) throws VTNException
nvlan - A NodeVlan instances which represents VLAN to be
mapped by a new VLAN mapping.purge - If true is specified, network caches
corresponding to VLAN superseded by a new VLAN mapping
will be purged.VTNException - An error occurred.protected void cleanUpImpl(TxContext ctx)
cleanUpImpl in class VirtualMapRegistry<VlanMapCleaner>ctx - Unused.Copyright © 2018 OpenDaylight. All rights reserved.