public final class MacMapIdentifier extends VBridgeMapIdentifier<MacMap>
MacMapIdentifier describes an identifier for 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 |
|---|
MacMapIdentifier(BridgeIdentifier<Vbridge> vbrId)
Construct a new instance.
|
MacMapIdentifier(VnodeName tname,
VnodeName bname)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(VirtualNodePath vpath)
Determine whether the MAC mapping specified by this instance contains
the virtual network mapping specified by
VirtualNodePath
instance. |
protected BridgeMapInfo |
getBridgeMapInfo()
Return a
BridgeMapInfo instance that indicates the MAC mapping
specified by this instance. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<MacMap> |
getIdentifierBuilder()
Return an instance identifier builder rooted at the virtual node
specified by this instance.
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacMapStatus> |
getStatusPath()
Return the path to the MAC mapping status.
|
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 MacMapIdentifier(VnodeName tname, VnodeName bname)
tname - The name of the VTN.bname - The name of the vBridge.public MacMapIdentifier(BridgeIdentifier<Vbridge> vbrId)
vbrId - A BridgeIdentifier instance that specifies the
vBridge.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacMapStatus> getStatusPath()
InstanceIdentifier instance for the MAC mapping
status.public VNodeType getType()
VNodeType instance which indicates the type of the
virtual node.getType in class VNodeIdentifier<MacMap>VNodeType.MACMAP.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<MacMap> getIdentifierBuilder()
getIdentifierBuilder in class VNodeIdentifier<MacMap>InstanceIdentifier.InstanceIdentifierBuilder instance.protected List<String> newComponents()
newComponents in class VNodeIdentifier<MacMap>public boolean contains(VirtualNodePath vpath)
VirtualNodePath
instance.contains in class TenantNodeIdentifier<MacMap,Vbridge>vpath - A VirtualNodePath instance that specifies the
virtual node. null cannot be specified.true if the MAC mapping specified by this instance
contains the virtual network mapping specified by
vpath. false otherwise.protected BridgeMapInfo getBridgeMapInfo()
BridgeMapInfo instance that indicates the MAC mapping
specified by this instance.getBridgeMapInfo in class VBridgeMapIdentifier<MacMap>BridgeMapInfo instance.Copyright © 2018 OpenDaylight. All rights reserved.