public final class VBridgeIdentifier extends BridgeIdentifier<Vbridge>
VBridgeIdentifier describes an identifier for a vBridge.TYPEBIT_MACMAP, TYPEBIT_MACMAP_HOST, TYPEBIT_VBRIDGE, TYPEBIT_VINTERFACE, TYPEBIT_VLANMAP, TYPEBIT_VTERMINAL, TYPEBIT_VTN| Constructor and Description |
|---|
VBridgeIdentifier(VNodeIdentifier<?> ident,
VnodeName bname)
Construct a new instance.
|
VBridgeIdentifier(VnodeName tname,
VnodeName bname)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
VBridgeIfIdentifier |
childInterface(VnodeName iname)
Construct a new identifier for a virtual interface inside the vBridge
specified by this instance.
|
static VBridgeIdentifier |
create(String tname,
String bname,
boolean find)
Create a new identifier.
|
static VBridgeIdentifier |
create(VbridgePathFields path,
boolean find)
Create a new identifier.
|
VBridgeIdentifier |
getBridgeIdentifier()
Return an identifier for the vBridge.
|
protected String |
getBridgeName(VnodePathFields vpath)
Return the vBridge name configured in the given
VnodePathFields
instance. |
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<? extends VtnFlowFilterList> |
getFlowFilterListIdentifierBuilder(boolean output)
Return an instance identifier builder rooted at the specified container
for the flow filter list.
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<Vbridge> |
getIdentifierBuilder()
Return an instance identifier builder rooted at the virtual node
specified by this instance.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacTableEntry> |
getMacEntryPath(BridgeIdentifier<Vbridge> ident,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Create an instance identifier that specifies the MAC address table
entry for the specified MAC address learned by the specified vBridge.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacAddressTable> |
getMacTablePath(BridgeIdentifier<Vbridge> ident)
Create an instance identifier that specifies the MAC address table for
the specified vBridge.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TenantMacTable> |
getTenantMacTablePath(VNodeIdentifier<?> ident)
Create an instance identifier that specifies the MAC address table list
the specified VTN.
|
VNodeType |
getType()
Return a
VNodeType instance which indicates the type of the
virtual node. |
VBridgeIdentifier |
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 vBridge name into the specified
VirtualNodePathBuilder
instance. |
getStatusPathcontains, getVBridgeIdentifierBuilder, getVirtualNodePathBuilder, 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 VBridgeIdentifier(VnodeName tname, VnodeName bname)
tname - The name of the VTN.bname - The name of the vBridge.public VBridgeIdentifier(VNodeIdentifier<?> ident, VnodeName bname)
ident - A VNodeIdentifier instance that specifies the
VTN.bname - The name of the vBridge.public static VBridgeIdentifier create(String tname, String bname, boolean find) throws RpcException
tname - The name of the VTN.bname - The name of the vBridge.find - true indicates the given name is used for
finding existing virtual node.VBridgeIdentifier instance.RpcException - Invalid name is specified.public static VBridgeIdentifier create(VbridgePathFields path, boolean find) throws RpcException
path - A VbridgePathFields instance.find - true indicates the given name is used for
finding existing virtual node.VBridgeIdentifier instance.RpcException - Invalid name is specified.public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TenantMacTable> getTenantMacTablePath(VNodeIdentifier<?> ident)
ident - A virtual node identifier.public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacAddressTable> getMacTablePath(BridgeIdentifier<Vbridge> ident)
ident - An identifier for the vBridge.public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacTableEntry> getMacEntryPath(BridgeIdentifier<Vbridge> ident, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
ident - An identifier for the vBridge.mac - A MAC adderss.public VBridgeIfIdentifier childInterface(VnodeName iname)
childInterface in class BridgeIdentifier<Vbridge>iname - The name of the virtual interface.VBridgeIfIdentifier instance.protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeStatus> newStatusPath()
newStatusPath in class BridgeIdentifier<Vbridge>InstanceIdentifier instance for the virtual bridge
status.public VBridgeIdentifier getBridgeIdentifier()
getBridgeIdentifier in class TenantNodeIdentifier<Vbridge,Vbridge>protected String getBridgeName(VnodePathFields vpath)
VnodePathFields
instance.getBridgeName in class TenantNodeIdentifier<Vbridge,Vbridge>vpath - A VnodePathFields instance.
null cannot be specified.vpath.
null if the vBridge name is not configured in
vpath.protected VirtualNodePathBuilder setBridgeName(VirtualNodePathBuilder builder)
VirtualNodePathBuilder
instance.setBridgeName in class TenantNodeIdentifier<Vbridge,Vbridge>builder - A VirtualNodePathBuilder instance.builder.public VNodeType getType()
VNodeType instance which indicates the type of the
virtual node.getType in class VNodeIdentifier<Vbridge>VNodeType.VBRIDGE.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<Vbridge> getIdentifierBuilder()
getIdentifierBuilder in class VNodeIdentifier<Vbridge>InstanceIdentifier.InstanceIdentifierBuilder instance.public VBridgeIdentifier getVNodeIdentifier()
VNodeIdentifier that specifies a virtual network
element.
This method always returns this instance because vBridge is virtual network element.
getVNodeIdentifier in class VNodeIdentifier<Vbridge>protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<? extends VtnFlowFilterList> getFlowFilterListIdentifierBuilder(boolean output)
getFlowFilterListIdentifierBuilder in class VNodeIdentifier<Vbridge>output - true indicates the output filter list.
false indicates the input filter list.protected List<String> newComponents()
newComponents in class VNodeIdentifier<Vbridge>Copyright © 2018 OpenDaylight. All rights reserved.