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