Interface IInterfaceManager
-
- All Known Implementing Classes:
InterfacemgrProvider,TestInterfaceManager
public interface IInterfaceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidbindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)voidbindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo, TypedWriteTransaction<Datastore.Configuration> tx)com.google.common.util.concurrent.ListenableFuture<java.lang.Void>createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode)com.google.common.util.concurrent.ListenableFuture<java.lang.Void>createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal)voidcreateVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode)voidcreateVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal)java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus>getBfdStateCache()java.util.MapgetBridgeRefEntryMap()java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>getChildInterfaces(java.lang.String parentInterface)Deprecated.UsegetChildInterfaces(ReadTransaction, String)instead.java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>getChildInterfaces(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String parentInterface)Retrieve an interface's children.org.opendaylight.yangtools.yang.common.Uint64getDpnForInterface(java.lang.String ifName)org.opendaylight.yangtools.yang.common.Uint64getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf)java.lang.StringgetEndpointIpForDpn(org.opendaylight.yangtools.yang.common.Uint64 dpnId)java.util.List<ActionInfo>getInterfaceEgressActions(java.lang.String ifName)InterfaceInfogetInterfaceInfo(java.lang.String intInfo)org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfacegetInterfaceInfoFromConfigDataStore(java.lang.String interfaceName)Deprecated.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfacegetInterfaceInfoFromConfigDataStore(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName)Retrieve the interface information from the configuration datastore.InterfaceInfogetInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName)InterfaceInfogetInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName, InterfaceInfo.InterfaceType interfaceType)InterfaceInfogetInterfaceInfoFromOperationalDSCache(java.lang.String interfaceName)This API is currently used only for CLI usage.longgetLogicalTunnelSelectGroupId(int lportTag)org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentationgetOvsdbBridgeForInterface(java.lang.String interfaceName)org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentationgetOvsdbBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)java.lang.StringgetParentRefNameForInterface(java.lang.String interfaceName)java.lang.LonggetPortForInterface(java.lang.String ifName)java.lang.LonggetPortForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf)java.lang.StringgetPortNameForInterface(java.lang.String dpnId, java.lang.String interfaceName)java.lang.StringgetPortNameForInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, java.lang.String interfaceName)java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>getPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)java.util.Map<java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeBase>,java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>>getPortsOnBridgeByType(org.opendaylight.yangtools.yang.common.Uint64 dpnId)java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>getTerminationPointCache()org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentationgetTerminationPointForInterface(java.lang.String interfaceName)java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>getTunnelPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>getVlanInterfaces()java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>getVxlanInterfaces()booleanisExternalInterface(java.lang.String interfaceName)Deprecated.UseisExternalInterface(ReadTransaction, String)instead.booleanisExternalInterface(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName)Determine whether an interface is external.booleanisItmDirectTunnelsEnabled()booleanisServiceBoundOnInterfaceForEgress(short servicePriority, java.lang.String interfaceName)booleanisServiceBoundOnInterfaceForIngress(short servicePriority, java.lang.String interfaceName)voidunbindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)voidupdateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface)voidupdateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface, boolean readInterfaceBeforeWrite)
-
-
-
Method Detail
-
getPortForInterface
java.lang.Long getPortForInterface(java.lang.String ifName)
-
getPortForInterface
java.lang.Long getPortForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf)
-
getDpnForInterface
org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface(java.lang.String ifName)
-
getDpnForInterface
org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf)
-
getEndpointIpForDpn
java.lang.String getEndpointIpForDpn(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
getInterfaceEgressActions
java.util.List<ActionInfo> getInterfaceEgressActions(java.lang.String ifName)
-
getInterfaceInfo
InterfaceInfo getInterfaceInfo(java.lang.String intInfo)
-
getInterfaceInfoFromOperationalDataStore
InterfaceInfo getInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName, InterfaceInfo.InterfaceType interfaceType)
-
getInterfaceInfoFromOperationalDataStore
InterfaceInfo getInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName)
-
getInterfaceInfoFromOperationalDSCache
InterfaceInfo getInterfaceInfoFromOperationalDSCache(java.lang.String interfaceName)
This API is currently used only for CLI usage. Please be careful that this API can return stale entries since it is just a cache read.
-
getInterfaceInfoFromConfigDataStore
@Deprecated org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore(java.lang.String interfaceName)
Deprecated.Retrieve the interface information from the configuration datastore.- Parameters:
interfaceName- The interface name.- Returns:
- The interface information.
-
getInterfaceInfoFromConfigDataStore
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedExceptionRetrieve the interface information from the configuration datastore.- Parameters:
tx- The transaction to use.interfaceName- The interface name.- Returns:
- The interface information.
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException- if an exception occurs while reading from the datastore.
-
createVLANInterface
@Deprecated void createVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode) throws InterfaceAlreadyExistsExceptionCreate a VLAN interface.- Throws:
InterfaceAlreadyExistsException
-
createVLANInterface
com.google.common.util.concurrent.ListenableFuture<java.lang.Void> createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode) throws InterfaceAlreadyExistsException- Throws:
InterfaceAlreadyExistsException
-
createVLANInterface
@Deprecated void createVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal) throws InterfaceAlreadyExistsExceptionCreate a VLAN interface.- Throws:
InterfaceAlreadyExistsException
-
createVLANInterface
com.google.common.util.concurrent.ListenableFuture<java.lang.Void> createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal) throws InterfaceAlreadyExistsException- Throws:
InterfaceAlreadyExistsException
-
isServiceBoundOnInterfaceForIngress
boolean isServiceBoundOnInterfaceForIngress(short servicePriority, java.lang.String interfaceName)
-
isServiceBoundOnInterfaceForEgress
boolean isServiceBoundOnInterfaceForEgress(short servicePriority, java.lang.String interfaceName)
-
bindService
void bindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
-
bindService
void bindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo, TypedWriteTransaction<Datastore.Configuration> tx)
-
unbindService
void unbindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
-
getVlanInterfaces
java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVlanInterfaces()
-
getVxlanInterfaces
java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVxlanInterfaces()
-
getChildInterfaces
@Deprecated java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getChildInterfaces(java.lang.String parentInterface)
Deprecated.UsegetChildInterfaces(ReadTransaction, String)instead.Retrieve an interface's children.- Parameters:
parentInterface- The parent interface.- Returns:
- The child interfaces.
-
getChildInterfaces
java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getChildInterfaces(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String parentInterface) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedExceptionRetrieve an interface's children.- Parameters:
tx- The transaction to use.parentInterface- The parent interface.- Returns:
- The child interfaces.
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException- if an exception occurs while reading from the datastore.
-
isExternalInterface
@Deprecated boolean isExternalInterface(java.lang.String interfaceName)
Deprecated.UseisExternalInterface(ReadTransaction, String)instead.Determine whether an interface is external.- Parameters:
interfaceName- The interface name.- Returns:
trueif the interface is external,falseif it isn't.
-
isExternalInterface
boolean isExternalInterface(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedExceptionDetermine whether an interface is external.- Parameters:
tx- The transaction to use.interfaceName- The interface name.- Returns:
trueif the interface is external,falseif it isn't.- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException- if an exception occurs while reading from the datastore.
-
getPortNameForInterface
java.lang.String getPortNameForInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, java.lang.String interfaceName)
-
getPortNameForInterface
java.lang.String getPortNameForInterface(java.lang.String dpnId, java.lang.String interfaceName)
-
getParentRefNameForInterface
java.lang.String getParentRefNameForInterface(java.lang.String interfaceName)
-
getTerminationPointCache
java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getTerminationPointCache()
-
getBfdStateCache
java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus> getBfdStateCache()
-
getTerminationPointForInterface
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation getTerminationPointForInterface(java.lang.String interfaceName)
-
getOvsdbBridgeForInterface
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getOvsdbBridgeForInterface(java.lang.String interfaceName)
-
getOvsdbBridgeForNodeIid
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getOvsdbBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
-
getPortsOnBridge
java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
getTunnelPortsOnBridge
java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getTunnelPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
getPortsOnBridgeByType
java.util.Map<java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeBase>,java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>> getPortsOnBridgeByType(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
updateInterfaceParentRef
void updateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface)
-
updateInterfaceParentRef
void updateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface, boolean readInterfaceBeforeWrite)
-
getLogicalTunnelSelectGroupId
long getLogicalTunnelSelectGroupId(int lportTag)
-
isItmDirectTunnelsEnabled
boolean isItmDirectTunnelsEnabled()
-
getBridgeRefEntryMap
java.util.Map getBridgeRefEntryMap()
-
-