public abstract class TestInterfaceManager extends Object implements IInterfaceManager
| Constructor and Description |
|---|
TestInterfaceManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface) |
void |
addInterfaceInfo(InterfaceInfo interfaceInfo) |
void |
addTunnelInterface(TunnelInterfaceDetails tunnelInterfaceDetails) |
BigInteger |
getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrface) |
BigInteger |
getDpnForInterface(String interfaceName) |
InterfaceInfo |
getInterfaceInfo(String interfaceName) |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface |
getInterfaceInfoFromConfigDataStore(String interfaceName) |
InterfaceInfo |
getInterfaceInfoFromOperationalDataStore(String interfaceName) |
InterfaceInfo |
getInterfaceInfoFromOperationalDataStore(String interfaceName,
InterfaceInfo.InterfaceType interfaceType) |
InterfaceInfo |
getInterfaceInfoFromOperationalDSCache(String interfaceName)
This API is currently used only for CLI usage.
|
boolean |
isExternalInterface(String interfaceName) |
boolean |
isItmDirectTunnelsEnabled() |
static TestInterfaceManager |
newInstance()
Deprecated.
Use
newInstance(DataBroker) instead now. |
static TestInterfaceManager |
newInstance(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindService, bindService, createVLANInterface, createVLANInterface, createVLANInterface, createVLANInterface, getBfdStateCache, getChildInterfaces, getEndpointIpForDpn, getInterfaceEgressActions, getLogicalTunnelSelectGroupId, getOvsdbBridgeForInterface, getOvsdbBridgeForNodeIid, getParentRefNameForInterface, getPortForInterface, getPortForInterface, getPortNameForInterface, getPortNameForInterface, getPortsOnBridge, getPortsOnBridgeByType, getTerminationPointCache, getTerminationPointForInterface, getTunnelPortsOnBridge, getVlanInterfaces, getVxlanInterfaces, isServiceBoundOnInterfaceForEgress, isServiceBoundOnInterfaceForIngress, unbindService, updateInterfaceParentRef, updateInterfaceParentRef@Deprecated public static TestInterfaceManager newInstance()
newInstance(DataBroker) instead now.public static TestInterfaceManager newInstance(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
public void addInterfaceInfo(InterfaceInfo interfaceInfo) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedExceptionpublic void addInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface)
public void addTunnelInterface(TunnelInterfaceDetails tunnelInterfaceDetails) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedExceptionpublic InterfaceInfo getInterfaceInfo(String interfaceName)
getInterfaceInfo in interface IInterfaceManagerpublic InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName)
getInterfaceInfoFromOperationalDataStore in interface IInterfaceManagerpublic InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName, InterfaceInfo.InterfaceType interfaceType)
getInterfaceInfoFromOperationalDataStore in interface IInterfaceManagerpublic InterfaceInfo getInterfaceInfoFromOperationalDSCache(String interfaceName)
IInterfaceManagergetInterfaceInfoFromOperationalDSCache in interface IInterfaceManagerpublic org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore(String interfaceName)
getInterfaceInfoFromConfigDataStore in interface IInterfaceManagerpublic BigInteger getDpnForInterface(String interfaceName)
getDpnForInterface in interface IInterfaceManagerpublic BigInteger getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrface)
getDpnForInterface in interface IInterfaceManagerpublic boolean isExternalInterface(String interfaceName)
isExternalInterface in interface IInterfaceManagerpublic boolean isItmDirectTunnelsEnabled()
isItmDirectTunnelsEnabled in interface IInterfaceManagerCopyright © 2019 OpenDaylight. All rights reserved.