public final class VTerminalIdentifier extends BridgeIdentifier<Vterminal>
VTerminalIdentifier describes an identifier for a vTerminal.TYPEBIT_MACMAP, TYPEBIT_MACMAP_HOST, TYPEBIT_VBRIDGE, TYPEBIT_VINTERFACE, TYPEBIT_VLANMAP, TYPEBIT_VTERMINAL, TYPEBIT_VTN| Constructor and Description |
|---|
VTerminalIdentifier(VNodeIdentifier<?> ident,
VnodeName bname)
Construct a new instance.
|
VTerminalIdentifier(VnodeName tname,
VnodeName bname)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
VTerminalIfIdentifier |
childInterface(VnodeName iname)
Construct a new identifier for a virtual interface inside the vTerminal
specified by this instance.
|
static VTerminalIdentifier |
create(String tname,
String bname,
boolean find)
Create a new identifier.
|
static VTerminalIdentifier |
create(VterminalPathFields path,
boolean find)
Create a new identifier.
|
VTerminalIdentifier |
getBridgeIdentifier()
Return an identifier for the vTerminal.
|
protected String |
getBridgeName(VnodePathFields vpath)
Return the vTerminal name configured in the given
VnodePathFields instance. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<Vterminal> |
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. |
VTerminalIdentifier |
getVNodeIdentifier()
Return a
VNodeIdentifier that specifies a virtual network
element. |
protected List<String> |
newComponents()
Create a new list which contains all path components configured in this
instance.
|
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeStatus> |
newStatusPath()
Construct a new instance identifier for the virtual bridge status.
|
protected VirtualNodePathBuilder |
setBridgeName(VirtualNodePathBuilder builder)
Set the vTerminal name into the specified
VirtualNodePathBuilder
instance. |
getStatusPathcontains, getVBridgeIdentifierBuilder, getVirtualNodePathBuilder, 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 VTerminalIdentifier(VnodeName tname, VnodeName bname)
tname - The name of the VTN.bname - The name of the vTerminal.public VTerminalIdentifier(VNodeIdentifier<?> ident, VnodeName bname)
ident - A VNodeIdentifier instance that specifies the
VTN.bname - The name of the vTerminal.public static VTerminalIdentifier create(String tname, String bname, boolean find) throws RpcException
tname - The name of the VTN.bname - The name of the vTerminal.find - true indicates the given name is used for
finding existing virtual node.VTerminalIdentifier instance.RpcException - Invalid name is specified.public static VTerminalIdentifier create(VterminalPathFields path, boolean find) throws RpcException
path - A VterminalPathFields instance.find - true indicates the given name is used for
finding existing virtual node.VTerminalIdentifier instance.RpcException - Invalid name is specified.public VTerminalIfIdentifier childInterface(VnodeName iname)
childInterface in class BridgeIdentifier<Vterminal>iname - The name of the virtual interface.VTerminalIfIdentifier instance.protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeStatus> newStatusPath()
newStatusPath in class BridgeIdentifier<Vterminal>InstanceIdentifier instance for the virtual bridge
status.public VTerminalIdentifier getBridgeIdentifier()
getBridgeIdentifier in class TenantNodeIdentifier<Vterminal,Vterminal>protected String getBridgeName(VnodePathFields vpath)
VnodePathFields instance.getBridgeName in class TenantNodeIdentifier<Vterminal,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<Vterminal,Vterminal>builder - A VirtualNodePathBuilder instance.builder.public VNodeType getType()
VNodeType instance which indicates the type of the
virtual node.getType in class VNodeIdentifier<Vterminal>VNodeType.VTERMINAL.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<Vterminal> getIdentifierBuilder()
getIdentifierBuilder in class VNodeIdentifier<Vterminal>InstanceIdentifier.InstanceIdentifierBuilder instance.public VTerminalIdentifier getVNodeIdentifier()
VNodeIdentifier that specifies a virtual network
element.
This method always returns this instance because vTerminal is virtual network element.
getVNodeIdentifier in class VNodeIdentifier<Vterminal>protected List<String> newComponents()
newComponents in class VNodeIdentifier<Vterminal>Copyright © 2018 OpenDaylight. All rights reserved.