public final class PortMapRegistry extends VirtualMapRegistry<PortMapCleaner>
PortMapRegistry describes a context for registering port mapping.| Constructor and Description |
|---|
PortMapRegistry(TxContext ctx,
VInterfaceIdentifier<?> ident)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanUpImpl(TxContext ctx)
Clean up the transaction for changing virtual network mapping.
|
void |
register(PortVlan pvlan,
boolean purge)
Register a new port mapping.
|
addMapCleaner, cleanUp, getContext, getMapCleanerpublic PortMapRegistry(TxContext ctx, VInterfaceIdentifier<?> ident)
ctx - A runtime context for transaction task.ident - The identifier for the target virtual interface.public void register(PortVlan pvlan, boolean purge) throws VTNException
pvlan - A PortVlan instances which represents VLAN to be
mapped by a new port mapping.purge - If true is specified, network caches corresponding
to VLAN superseded by a new port mapping will be purged.VTNException - An error occurred.protected void cleanUpImpl(TxContext ctx) throws VTNException
cleanUpImpl in class VirtualMapRegistry<PortMapCleaner>ctx - A runtime context for transaction task.VTNException - An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.