public final class VTerminalIfIdentifier extends VInterfaceIdentifier<Vterminal>
VTerminalIfIdentifier describes an identifier for a virtual
interface attached to a vTerminal.DESCRIPTIONTYPEBIT_MACMAP, TYPEBIT_MACMAP_HOST, TYPEBIT_VBRIDGE, TYPEBIT_VINTERFACE, TYPEBIT_VLANMAP, TYPEBIT_VTERMINAL, TYPEBIT_VTN| Constructor and Description |
|---|
VTerminalIfIdentifier(VnodeName tname,
VnodeName bname,
VnodeName iname)
Construct a new instance.
|
VTerminalIfIdentifier(VTerminalIdentifier vtmId,
VnodeName iname)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static VTerminalIfIdentifier |
create(String tname,
String bname,
String iname,
boolean find)
Create a new identifier.
|
VTerminalIdentifier |
getBridgeIdentifier()
Return an identifier for the vTerminal that contains the virtual
interface specified by this instance.
|
protected String |
getBridgeName(VnodePathFields vpath)
Return the vTerminal name configured in the given
VnodePathFields instance. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<Vinterface> |
getIdentifierBuilder()
Return an instance identifier builder rooted at the virtual node
specified by this instance.
|
VNodeType |
getType()
Return a
VNodeType instance which indicates the type of the
virtual node. |
VTerminalIfIdentifier |
getVNodeIdentifier()
Return a
VNodeIdentifier that specifies a virtual network
element. |
VTerminalIfIdentifier |
replaceTenantName(VnodeName tname)
Create a shallow copy of this instance, and replace the VTN name
with the given name.
|
protected VirtualNodePathBuilder |
setBridgeName(VirtualNodePathBuilder builder)
Set the vTerminal name into the specified
VirtualNodePathBuilder
instance. |
RedirectDestination |
toRedirectDestination()
Convert this instance into a
RedirectDestination instance. |
checkName, contains, create, getFlowFilterListIdentifierBuilder, getNoRedirectDestinationException, getStatusPath, getVirtualNodePathBuilder, newComponentsgetVBridgeIdentifierBuilder, getVTerminalIdentifierBuilderclearFlowFilter, contains, create, create, create, equals, fetch, getBadPathException, getBridgeName, getBridgeNameString, getComponents, getDataExistsException, getFlowFilterIdentifier, getFlowFilterUnsupportedException, getIdentifier, getInterfaceName, getInterfaceNameString, getNotFoundException, getTenantName, getTenantNameString, getVirtualNodePath, getVtnIdentifierBuilder, hashCode, read, readVtenantConfig, toStringpublic VTerminalIfIdentifier(VnodeName tname, VnodeName bname, VnodeName iname)
tname - The name of the VTN.bname - The name of the vTerminal.iname - The name of the virtual interface.public VTerminalIfIdentifier(VTerminalIdentifier vtmId, VnodeName iname)
vtmId - A VTerminalIdentifier instance that specifies the
vTerminal.iname - The name of the virtual interface.public static VTerminalIfIdentifier create(String tname, String bname, String iname, boolean find) throws RpcException
tname - The name of the VTN.bname - The name of the vTerminal.iname - The name of the virtual interface.find - true indicates the given name is used for
finding existing virtual node.VTerminalIfIdentifier instance.RpcException - Invalid name is specified.public VTerminalIfIdentifier replaceTenantName(VnodeName tname)
replaceTenantName in class VInterfaceIdentifier<Vterminal>tname - The VTN name to be configured into a new instance.public RedirectDestination toRedirectDestination()
RedirectDestination instance.toRedirectDestination in class VInterfaceIdentifier<Vterminal>RedirectDestination instance.public VTerminalIdentifier getBridgeIdentifier()
getBridgeIdentifier in class TenantNodeIdentifier<Vinterface,Vterminal>VTerminalIdentifier instance.protected String getBridgeName(VnodePathFields vpath)
VnodePathFields instance.getBridgeName in class TenantNodeIdentifier<Vinterface,Vterminal>vpath - A VnodePathFields instance.
null cannot be specified.vpath.
null if the vTerminal name is not configured in
vpath.protected VirtualNodePathBuilder setBridgeName(VirtualNodePathBuilder builder)
VirtualNodePathBuilder
instance.setBridgeName in class TenantNodeIdentifier<Vinterface,Vterminal>builder - A VirtualNodePathBuilder instance.builder.public VNodeType getType()
VNodeType instance which indicates the type of the
virtual node.getType in class VNodeIdentifier<Vinterface>VNodeType.VTERMINAL_IF.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<Vinterface> getIdentifierBuilder()
getIdentifierBuilder in class VNodeIdentifier<Vinterface>InstanceIdentifier.InstanceIdentifierBuilder instance.public VTerminalIfIdentifier getVNodeIdentifier()
VNodeIdentifier that specifies a virtual network
element.
This method always returns this instance because virtual interface is virtual network element.
getVNodeIdentifier in class VNodeIdentifier<Vinterface>Copyright © 2018 OpenDaylight. All rights reserved.