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)
Retrieve the interface information from the configuration datastore.
|
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)
Determine whether an interface is external.
|
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, getChildInterfaces, getEndpointIpForDpn, getInterfaceEgressActions, getInterfaceInfoFromConfigDataStore, getLogicalTunnelSelectGroupId, getOvsdbBridgeForInterface, getOvsdbBridgeForNodeIid, getParentRefNameForInterface, getPortForInterface, getPortForInterface, getPortNameForInterface, getPortNameForInterface, getPortsOnBridge, getPortsOnBridgeByType, getTerminationPointCache, getTerminationPointForInterface, getTunnelPortsOnBridge, getVlanInterfaces, getVxlanInterfaces, isExternalInterface, 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)
IInterfaceManager
getInterfaceInfoFromConfigDataStore
in interface IInterfaceManager
interfaceName
- The interface name.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)
IInterfaceManager
isExternalInterface
in interface IInterfaceManager
interfaceName
- The interface name.true
if the interface is external, false
if it isn't.public boolean isItmDirectTunnelsEnabled()
isItmDirectTunnelsEnabled
in interface IInterfaceManager
Copyright © 2019 OpenDaylight. All rights reserved.