B - The type of the virtual bridge.public abstract class VInterfaceIdentifier<B extends VtnPortMappableBridge> extends TenantNodeIdentifier<Vinterface,B>
VInterfaceIdentifier describes an identifier for a virtual
interface which can have port mapping configuration.| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION
A brief description about virtual interface.
|
TYPEBIT_MACMAP, TYPEBIT_MACMAP_HOST, TYPEBIT_VBRIDGE, TYPEBIT_VINTERFACE, TYPEBIT_VLANMAP, TYPEBIT_VTERMINAL, TYPEBIT_VTN| Modifier and Type | Method and Description |
|---|---|
static VnodeName |
checkName(String name)
Verify the name of the virtual interface.
|
boolean |
contains(VirtualNodePath vpath)
Determine whether the virtua interface specified by this instance
is equal to the virtual interface specified by
VirtualNodePath
instance. |
static VInterfaceIdentifier<?> |
create(RedirectDestination rdest)
Create a new virtual interface identifier which specifies the
destination of the redirection flow filter.
|
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.
|
static RpcException |
getNoRedirectDestinationException()
Return an exception that indicates the destination of redirect flow
filter is missing.
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VinterfaceStatus> |
getStatusPath()
Return the path to the virtual interface status.
|
protected VirtualNodePathBuilder |
getVirtualNodePathBuilder()
Create a new
VirtualNodePathBuilder instance that contains the
path components configured in this instance. |
protected List<String> |
newComponents()
Create a new list which contains all path components configured in this
instance.
|
abstract VInterfaceIdentifier |
replaceTenantName(VnodeName tname)
Create a shallow copy of this instance, and replace the VTN name
with the given name.
|
abstract RedirectDestination |
toRedirectDestination()
Convert this instance into a
RedirectDestination instance. |
getBridgeIdentifier, getBridgeName, getVBridgeIdentifierBuilder, getVTerminalIdentifierBuilder, setBridgeNameclearFlowFilter, contains, create, create, create, equals, fetch, getBadPathException, getBridgeName, getBridgeNameString, getComponents, getDataExistsException, getFlowFilterIdentifier, getFlowFilterUnsupportedException, getIdentifier, getIdentifierBuilder, getInterfaceName, getInterfaceNameString, getNotFoundException, getTenantName, getTenantNameString, getType, getVirtualNodePath, getVNodeIdentifier, getVtnIdentifierBuilder, hashCode, read, readVtenantConfig, toStringpublic static final String DESCRIPTION
public static final VnodeName checkName(String name) throws RpcException
name - The name of the virtual interface.VnodeName instance that contains the given name.RpcException - The given name is invalid.public static final RpcException getNoRedirectDestinationException()
RpcException instance.public static final VInterfaceIdentifier<?> create(RedirectDestination rdest) throws RpcException
rdest - A RedirectDestination instance.VInterfaceIdentifier instance.RpcException - The given instance contains invalid configuration.public final org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VinterfaceStatus> getStatusPath()
InstanceIdentifier instance for the virtual
interface status.public abstract VInterfaceIdentifier replaceTenantName(VnodeName tname)
tname - The VTN name to be configured into a new instance.public abstract RedirectDestination toRedirectDestination()
RedirectDestination instance.RedirectDestination instance.public final boolean contains(VirtualNodePath vpath)
VirtualNodePath
instance.contains in class TenantNodeIdentifier<Vinterface,B extends VtnPortMappableBridge>vpath - A VirtualNodePath instance that specifies the
virtual node. null cannot be specified.true if vpath specifies the same virtual
interface as specified by this instance.
false otherwise.protected final VirtualNodePathBuilder getVirtualNodePathBuilder()
VirtualNodePathBuilder instance that contains the
path components configured in this instance.
This method in this class sets only the VTN and virtual bridge name. Subclass may override this method.
getVirtualNodePathBuilder in class TenantNodeIdentifier<Vinterface,B extends VtnPortMappableBridge>VirtualNodePathBuilder instance.protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<? extends VtnFlowFilterList> getFlowFilterListIdentifierBuilder(boolean output)
getFlowFilterListIdentifierBuilder in class VNodeIdentifier<Vinterface>output - true indicates the output filter list.
false indicates the input filter list.protected final List<String> newComponents()
newComponents in class VNodeIdentifier<Vinterface>Copyright © 2018 OpenDaylight. All rights reserved.