public final class MacMapHostIdentifier extends VBridgeMapIdentifier<VlanHostDescList>
MacMapHostIdentifier describes an identifier for a host mapped
by a MAC mapping configured in a vBridge.TYPEBIT_MACMAP, TYPEBIT_MACMAP_HOST, TYPEBIT_VBRIDGE, TYPEBIT_VINTERFACE, TYPEBIT_VLANMAP, TYPEBIT_VTERMINAL, TYPEBIT_VTN| Constructor and Description |
|---|
MacMapHostIdentifier(MacMapIdentifier mapId,
MacVlan mvlan)
Construct a new instance.
|
MacMapHostIdentifier(VnodeName tname,
VnodeName bname,
MacVlan mvlan)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(VirtualNodePath vpath)
Determine whether the MAC mapped host specified by this instance is
equal to the MAC mapped host specified by
VirtualNodePath
instance. |
protected BridgeMapInfo |
getBridgeMapInfo()
Return a
BridgeMapInfo instance that indicates the MAC mapped
host specified by this instance. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<VlanHostDescList> |
getIdentifierBuilder()
Return an instance identifier builder rooted at the virtual node
specified by this instance.
|
MacVlan |
getMappedHost()
Return information about a host mapped by a MAC mapping.
|
static MacVlan |
getMappedHost(VirtualNodePath vpath)
Return the L2 host mapped by the MAC mapping configured in the
specified virtual-node-path.
|
VNodeType |
getType()
Return a
VNodeType instance which indicates the type of the
virtual node. |
protected List<String> |
newComponents()
Create a new list which contains all path components configured in this
instance.
|
getBridgeIdentifier, getBridgeName, getVirtualNodePathBuilder, getVNodeIdentifier, setBridgeNamegetVBridgeIdentifierBuilder, getVTerminalIdentifierBuilderclearFlowFilter, contains, create, create, create, equals, fetch, getBadPathException, getBridgeName, getBridgeNameString, getComponents, getDataExistsException, getFlowFilterIdentifier, getFlowFilterListIdentifierBuilder, getFlowFilterUnsupportedException, getIdentifier, getInterfaceName, getInterfaceNameString, getNotFoundException, getTenantName, getTenantNameString, getVirtualNodePath, getVtnIdentifierBuilder, hashCode, read, readVtenantConfig, toStringpublic MacMapHostIdentifier(VnodeName tname, VnodeName bname, MacVlan mvlan)
tname - The name of the VTN.bname - The name of the vBridge.mvlan - A MacVlan instance which specifies the host mapped
by a MAC mapping.public MacMapHostIdentifier(MacMapIdentifier mapId, MacVlan mvlan)
mapId - A MacMapIdentifier instance that specifies the
MAC mapping configured in a vBridge.mvlan - A MacVlan instance which specifies the host mapped
by a MAC mapping.public static MacVlan getMappedHost(VirtualNodePath vpath)
vpath - A VirtualNodePath instance that specifies the
virtual node.MacVlan instance if vpath specifies the
host mapped by MAC mapping. null otherwise}.public MacVlan getMappedHost()
MacVlan instance which specifies the host mapped
by a MAC mapping.public VNodeType getType()
VNodeType instance which indicates the type of the
virtual node.getType in class VNodeIdentifier<VlanHostDescList>VNodeType.MACMAP_HOST.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<VlanHostDescList> getIdentifierBuilder()
getIdentifierBuilder in class VNodeIdentifier<VlanHostDescList>InstanceIdentifier.InstanceIdentifierBuilder instance.protected List<String> newComponents()
newComponents in class VNodeIdentifier<VlanHostDescList>public boolean contains(VirtualNodePath vpath)
VirtualNodePath
instance.contains in class TenantNodeIdentifier<VlanHostDescList,Vbridge>vpath - A VirtualNodePath instance that specifies the
virtual node. null cannot be specified.true if the MAC mapped host specified by this instance
is equal to the MAC mapped host specified by vpath.
false otherwise.protected BridgeMapInfo getBridgeMapInfo()
BridgeMapInfo instance that indicates the MAC mapped
host specified by this instance.getBridgeMapInfo in class VBridgeMapIdentifier<VlanHostDescList>BridgeMapInfo instance.Copyright © 2018 OpenDaylight. All rights reserved.