| Package | Description |
|---|---|
| org.opendaylight.vtn.manager.internal.flow.reader | |
| org.opendaylight.vtn.manager.internal.flow.remove | |
| org.opendaylight.vtn.manager.internal.util.inventory | |
| 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 |
|---|---|
protected MacVlan |
ReadFlowFuture.getSourceHost()
Return a
MacVlan instance corresponding to the source L2 host
specified by the RPC input. |
| Constructor and Description |
|---|
EdgeHostFlowRemover(String tname,
MacVlan mvlan,
SalPort sport)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
MacVlan |
L2Host.getHost()
Return a
MacVlan instance which represents a L2 host. |
| Modifier and Type | Method and Description |
|---|---|
int |
MacVlan.compareTo(MacVlan mvlan)
Compare two
MacVlan instances numerically. |
| Constructor and Description |
|---|
L2Host(MacVlan mvlan,
SalPort sport)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
MacVlan |
MacMapDuplicateException.getDuplicate()
Return a
MacVlan instance which specifies the host already
mapped by the MAC mapping. |
MacVlan |
VTNMacMapStatus.getDuplicate(MacVlan mvlan)
Determine whether the MAC address same as the specified host is already
mapped by the MAC mapping or not.
|
MacVlan |
MacMapException.getHost()
Return a
MacVlan instance which specifies the host to be
mapped by the target MAC mapping. |
MacVlan |
MacMapHostIdentifier.getMappedHost()
Return information about a host mapped by a MAC mapping.
|
static MacVlan |
MacMapHostIdentifier.getMappedHost(VirtualNodePath vpath)
Return the L2 host mapped by the MAC mapping configured in the
specified virtual-node-path.
|
static MacVlan |
VTNMacMapConfig.verifyDeniedHost(MacVlan mv)
Verify a host information in the denied host set.
|
static MacVlan |
VTNMacMapConfig.verifyDeniedHost(VlanHostDesc host)
Verify a host information in the denied host set.
|
| Modifier and Type | Method and Description |
|---|---|
Set<MacVlan> |
MacMapChange.getAllowAddedSet()
Return a set of
MacVlan instances to be added to the allowed
host set. |
Set<MacVlan> |
VTNMacMapConfig.getAllowedHosts()
Return a set of hosts to be mapped by MAC mapping.
|
Set<MacVlan> |
MacMapChange.getAllowRemovedSet()
Return a set of
MacVlan instances to be removed from the allowed
host set. |
Set<MacVlan> |
VTNMacMapConfig.getDeniedHosts()
Return a set of hosts not to be mapped by MAC mapping.
|
Set<MacVlan> |
MacMapChange.getDenyAddedSet()
Return a set of
MacVlan instances to be added to the denied
host set. |
Set<MacVlan> |
MacMapChange.getDenyRemovedSet()
Return a set of
MacVlan instances to be removed from the denied
host set. |
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.
|
Map<MacVlan,SalPort> |
VTNMacMapStatus.inactivate(PortFilter filter,
Set<PortVlan> rels)
Inactivate all MAC mappings detected on switch port accepted by the
specified port filter.
|
Set<MacVlan> |
VTNMacMapStatus.inactivate(PortVlan pvlan)
Inactivate all the MAC mappings detected on the specified VLAN.
|
| 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.
|
MacVlan |
VTNMacMapStatus.getDuplicate(MacVlan mvlan)
Determine whether the MAC address same as the specified host is already
mapped by the MAC mapping or not.
|
SalPort |
VTNMacMapStatus.getPort(MacVlan mvlan)
Determine the switch port where the specified host was detected.
|
SalPort |
VTNMacMapStatus.inactivate(MacVlan mvlan,
Set<PortVlan> rels)
Inactivate the MAC mapping for the specified MAC address.
|
static MacVlan |
VTNMacMapConfig.verifyDeniedHost(MacVlan mv)
Verify a host information in the denied host set.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
VTNMacMapConfig.containsMacAddress(NavigableSet<MacVlan> set,
long addr)
Determine whether the specified MAC address is contained in the given
set or not.
|
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.
|
| 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.
|
MacMapHostIdentifier(VnodeName tname,
VnodeName bname,
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.
|
| Constructor and Description |
|---|
MacMapChange(Set<MacVlan> allow,
Set<MacVlan> deny,
int flags)
Construct a new instance used to resume or destroy MAC mapping.
|
MacMapChange(Set<MacVlan> allow,
Set<MacVlan> deny,
int flags)
Construct a new instance used to resume or destroy MAC mapping.
|
MacMapChange(Set<MacVlan> allowAdded,
Set<MacVlan> allowRemoved,
Set<MacVlan> denyAdded,
Set<MacVlan> denyRemoved,
int flags)
Construct a new instance used to change MAC mapping configuration.
|
MacMapChange(Set<MacVlan> allowAdded,
Set<MacVlan> allowRemoved,
Set<MacVlan> denyAdded,
Set<MacVlan> denyRemoved,
int flags)
Construct a new instance used to change MAC mapping configuration.
|
MacMapChange(Set<MacVlan> allowAdded,
Set<MacVlan> allowRemoved,
Set<MacVlan> denyAdded,
Set<MacVlan> denyRemoved,
int flags)
Construct a new instance used to change MAC mapping configuration.
|
MacMapChange(Set<MacVlan> allowAdded,
Set<MacVlan> allowRemoved,
Set<MacVlan> denyAdded,
Set<MacVlan> denyRemoved,
int flags)
Construct a new instance used to change MAC mapping configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.lang3.tuple.Pair<MacVlan,String> |
MappingRegistry.getMacMapAllowed(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
MacVlan mv)
Return an entry of the mac-map-allowed list that maps the specified host
by MAC mapping.
|
static Set<MacVlan> |
MappingRegistry.readAllowedSet(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read a set of L2 hosts present in the the mac-map-allowed container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MacMapCleaner.addMappedHost(MacVlan mvlan)
Add a L2 host to be added to the target MAC mapping.
|
void |
MacMapCleaner.addUnmappedHost(MacVlan mvlan)
Add a L2 host to be removed from the target MAC mapping.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacMapAllowed> |
MappingRegistry.getAllowedPath(MacVlan mv)
Return path to the MAC mapping that maps the specified L2 host.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacMapDenied> |
MappingRegistry.getDeniedPath(MacVlan mv)
Return path to the set of MAC mappings that denies the specified
L2 host.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MapReferenceList> |
MappingRegistry.getDeniedPath(MacVlan mv,
String id)
Return path to the MAC mapping that denies the specified L2 host.
|
static org.apache.commons.lang3.tuple.Pair<MacVlan,String> |
MappingRegistry.getMacMapAllowed(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
MacVlan mv)
Return an entry of the mac-map-allowed list that maps the specified host
by MAC mapping.
|
static MacMapIdentifier |
MappingRegistry.getMapping(TxContext ctx,
MacVlan mv)
Return the identifier for the MAC mapping which maps the specified host.
|
static void |
MappingRegistry.logMacMapInactivated(MacMapIdentifier ident,
MacVlan mv,
SalPort sport)
Record a trace log that notifies the specified MAC mapping has been
inactivated.
|
static com.google.common.base.Optional<MacMapAllowed> |
MappingRegistry.readAllowed(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
MacVlan mv)
Read the mac-map-allowed container associated with the given L2 host.
|
static com.google.common.base.Optional<MapReferenceList> |
MappingRegistry.readDenied(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
MacVlan mv,
String id)
Read the map-reference-list container that indicates the denied host
in the MAC mapping configuration.
|
| Constructor and Description |
|---|
MacMapActivation(MacMapIdentifier ident,
MacVlan mv,
SalPort sport)
Construct a new instance.
|
Copyright © 2018 OpenDaylight. All rights reserved.