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, wait
bindService, 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.TransactionCommitFailedException
public 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.TransactionCommitFailedException
public InterfaceInfo getInterfaceInfo(String interfaceName)
getInterfaceInfo
in interface IInterfaceManager
public InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName)
getInterfaceInfoFromOperationalDataStore
in interface IInterfaceManager
public InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName, InterfaceInfo.InterfaceType interfaceType)
getInterfaceInfoFromOperationalDataStore
in interface IInterfaceManager
public InterfaceInfo getInterfaceInfoFromOperationalDSCache(String interfaceName)
IInterfaceManager
getInterfaceInfoFromOperationalDSCache
in interface IInterfaceManager
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore(String interfaceName)
getInterfaceInfoFromConfigDataStore
in interface IInterfaceManager
public BigInteger getDpnForInterface(String interfaceName)
getDpnForInterface
in interface IInterfaceManager
public BigInteger getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrface)
getDpnForInterface
in interface IInterfaceManager
public boolean isExternalInterface(String interfaceName)
isExternalInterface
in interface IInterfaceManager
public boolean isItmDirectTunnelsEnabled()
isItmDirectTunnelsEnabled
in interface IInterfaceManager
Copyright © 2019 OpenDaylight. All rights reserved.