public final class VlanMapIdentifier extends VBridgeMapIdentifier<VlanMap>
VlanMapIdentifier describes an identifier for a VLAN mapping
configured in a vBridge.TYPEBIT_MACMAP, TYPEBIT_MACMAP_HOST, TYPEBIT_VBRIDGE, TYPEBIT_VINTERFACE, TYPEBIT_VLANMAP, TYPEBIT_VTERMINAL, TYPEBIT_VTN| Constructor and Description |
|---|
VlanMapIdentifier(BridgeIdentifier<Vbridge> vbrId,
String id)
Construct a new instance.
|
VlanMapIdentifier(VnodeName tname,
VnodeName bname,
String id)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(VirtualNodePath vpath)
Determine whether the VLAN mapping specified by this instance is equal
to the VLAN mapping specified by
VirtualNodePath instance. |
static VlanMapIdentifier |
create(String tname,
String bname,
String id)
Create a new identifier.
|
protected BridgeMapInfo |
getBridgeMapInfo()
Return a
BridgeMapInfo instance that indicates the VLAN mapping
specified by this instance. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<VlanMap> |
getIdentifierBuilder()
Return an instance identifier builder rooted at the virtual node
specified by this instance.
|
String |
getMapId()
Return an identifier assigned to the VLAN mapping.
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VlanMapStatus> |
getStatusPath()
Return the path to the VLAN 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 VlanMapIdentifier(VnodeName tname, VnodeName bname, String id)
tname - The name of the VTN.bname - The name of the vBridge.id - The identifier assigned to the VLAN mapping.public VlanMapIdentifier(BridgeIdentifier<Vbridge> vbrId, String id)
vbrId - A BridgeIdentifier instance that specifies the
vBridge.id - The identifier assigned to the VLAN mapping.public static VlanMapIdentifier create(String tname, String bname, String id) throws RpcException
tname - The name of the VTN.bname - The name of the vBridge.id - The identifier assigned to the VLAN mapping.VBridgeIdentifier instance.RpcException - Invalid name is specified.public String getMapId()
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VlanMapStatus> getStatusPath()
InstanceIdentifier instance for the VLAN mapping
status.public VNodeType getType()
VNodeType instance which indicates the type of the
virtual node.getType in class VNodeIdentifier<VlanMap>VNodeType.VLANMAP.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<VlanMap> getIdentifierBuilder()
getIdentifierBuilder in class VNodeIdentifier<VlanMap>InstanceIdentifier.InstanceIdentifierBuilder instance.protected List<String> newComponents()
newComponents in class VNodeIdentifier<VlanMap>public boolean contains(VirtualNodePath vpath)
VirtualNodePath instance.contains in class TenantNodeIdentifier<VlanMap,Vbridge>vpath - A VirtualNodePath instance that specifies the
virtual node. null cannot be specified.true if the VLAN mapping specified by this instance is
equal to the VLAN mapping specified by vpath.
false otherwise.protected BridgeMapInfo getBridgeMapInfo()
BridgeMapInfo instance that indicates the VLAN mapping
specified by this instance.getBridgeMapInfo in class VBridgeMapIdentifier<VlanMap>BridgeMapInfo instance.Copyright © 2018 OpenDaylight. All rights reserved.