| Package | Description |
|---|---|
| org.opendaylight.vtn.manager.internal.util.vnode |
This package contains utility classes for virtual node management.
|
| org.opendaylight.vtn.manager.internal.vnode |
| Modifier and Type | Method and Description |
|---|---|
MacMapIdentifier |
MacMapException.getIdentifier()
Return the identifier for the the target MAC mapping.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.lang3.tuple.Triple<Boolean,SalPort,PortVlan> |
VTNMacMapStatus.activate(MacMapIdentifier mapId,
MacVlan mvlan,
SalPort sport)
Activate MAC mapping for the specified MAC address.
|
Map<MacVlan,SalPort> |
VTNMacMapStatus.inactivate(MacMapIdentifier mapId,
Set<MacVlan> allowed,
Set<Integer> unmapped,
Set<PortVlan> rels)
Inactivate all MAC mappings which are no longer mapped.
|
void |
VTNMacMapStatus.submit(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
MacMapIdentifier ident)
Put the MAC mapping status only if this instance is modified.
|
| Constructor and Description |
|---|
MacMapConflictException(MacVlan mvlan,
MacMapIdentifier ident)
Create a new exception which indicates the specified host is already
mapped by MAC mapping.
|
MacMapDuplicateException(MacVlan mvlan,
MacMapIdentifier ident,
MacVlan dup)
Create a new exception which indicates duplicate MAC address was
detecred.
|
MacMapException(RpcErrorTag tag,
VtnErrorTag etag,
String msg,
MacVlan mvlan,
MacMapIdentifier ident)
Construct a new instance.
|
MacMapGoneException(MacVlan mvlan,
MacMapIdentifier ident)
Create a new exception which indicates the specified host is no longer
mapped by MAC mapping.
|
MacMapHostIdentifier(MacMapIdentifier mapId,
MacVlan mvlan)
Construct a new instance.
|
MacMapPortBusyException(MacVlan mvlan,
MacMapIdentifier ident,
VNodeIdentifier<?> map)
Create a new exception which indicates the specified VLAN network on a
switch port is reserved by another virtual mapping.
|
| Modifier and Type | Method and Description |
|---|---|
static MacMapIdentifier |
MappingRegistry.getMapping(TxContext ctx,
MacVlan mv)
Return the identifier for the MAC mapping which maps the specified host.
|
| Modifier and Type | Method and Description |
|---|---|
VTNMacMapStatus |
MacMapStatusReader.get(MacMapIdentifier ident)
Return the runtime status of the given MAC mapping.
|
VTNMacMapStatus |
MacMapStatusReader.getCached(MacMapIdentifier ident)
Return the runtime status of the given MAC mapping only if it is cached
in this instance.
|
static boolean |
MappingRegistry.inactivateMacMap(TxContext ctx,
MacMapIdentifier mapId,
PortFilter filter)
Inactivate all the MAC mappings detected on switch ports specified by
the port filter.
|
static void |
MappingRegistry.logMacMapInactivated(MacMapIdentifier ident,
MacVlan mv,
SalPort sport)
Record a trace log that notifies the specified MAC mapping has been
inactivated.
|
VTNMacMapStatus |
MacMapStatusReader.put(MacMapIdentifier ident,
VTNMacMapStatus vmst)
Put the given MAC mapping status only if not cached.
|
static void |
MappingRegistry.registerMacMap(TxContext ctx,
MacMapIdentifier mapId,
MacMapChange change)
Register MAC mapping configuration.
|
static void |
MappingRegistry.releasePort(TxContext ctx,
PortVlan pv,
MacMapIdentifier ident)
Release the specified VLAN on a switch port reserved by the MAC mapping.
|
static void |
MappingRegistry.releasePort(TxContext ctx,
Set<PortVlan> rels,
MacMapIdentifier ident)
Release the specified VLAN on a switch port reserved by the MAC mapping.
|
VTNMacMapStatus |
MacMapStatusReader.remove(MacMapIdentifier ident)
Discard the status information about the specified MAC mapping.
|
| Constructor and Description |
|---|
MacMapActivation(MacMapIdentifier ident,
MacVlan mv,
SalPort sport)
Construct a new instance.
|
MacMapCleaner(TxContext ctx,
MacMapIdentifier ident)
Construct a new instance.
|
MacMapRegistry(TxContext ctx,
MacMapIdentifier ident,
MacMapChange change)
Construct a new instance.
|
Copyright © 2018 OpenDaylight. All rights reserved.