public final class PortMapCleaner extends Object implements MapCleaner
MapCleaner that purges network resources
superseded by port mappings.| Constructor and Description |
|---|
PortMapCleaner() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PortVlan pvlan)
Add the specified network.
|
void |
purge(TxContext ctx,
String tname)
Purge caches for the virtual network.
|
public void add(PortVlan pvlan)
pvlan - A PortVlan instance which represents VLAN mapped
by a port mapping.public void purge(TxContext ctx, String tname) throws VTNException
purge in interface MapCleanerctx - A runtime context for transaction task.tname - The name of the target VTN.VTNException - An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.