public final class MacMapActivation extends Object
MacMapActivation
describes a runtime context for activating the
MAC mapping.Constructor and Description |
---|
MacMapActivation(MacMapIdentifier ident,
MacVlan mv,
SalPort sport)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
activate(TxContext ctx)
Activate the specified host in the MAC mapping.
|
public MacMapActivation(MacMapIdentifier ident, MacVlan mv, SalPort sport)
public boolean activate(TxContext ctx) throws VTNException
ctx
- MD-SAL datastore transaction context.true
is returned if the specified MAC mapping was
activated. In other words, true
is returned if the
specified host was activated, and it is the only active host
in the MAC mapping. Otherwise false
is returned.MacMapGoneException
- The specified host is no longer mapped by the target MAC mapping.MacMapPortBusyException
- The specified VLAN network on a switch port is reserved by
another virtual mapping.MacMapDuplicateException
- The same MAC address as mv
is already mapped to the same
vBridge.VTNException
- A fatal error occurred.Copyright © 2018 OpenDaylight. All rights reserved.