Interface IInterfaceManager

    • 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)
      • 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)
        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.mdsal.binding.api.ReadTransaction tx,
                                                                                                                                                    java.lang.String interfaceName)
                                                                                                                                             throws org.opendaylight.mdsal.common.api.ReadFailedException,
                                                                                                                                                    java.util.concurrent.ExecutionException,
                                                                                                                                                    java.lang.InterruptedException
        Retrieve the interface information from the configuration datastore.
        Parameters:
        tx - The transaction to use.
        interfaceName - The interface name.
        Returns:
        The interface information.
        Throws:
        org.opendaylight.mdsal.common.api.ReadFailedException - if an exception occurs while reading from the datastore.
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • 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,
                         org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.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)
        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.mdsal.binding.api.ReadTransaction tx,
                                                                                                                                                   java.lang.String parentInterface)
                                                                                                                                            throws org.opendaylight.mdsal.common.api.ReadFailedException,
                                                                                                                                                   java.util.concurrent.ExecutionException,
                                                                                                                                                   java.lang.InterruptedException
        Retrieve an interface's children.
        Parameters:
        tx - The transaction to use.
        parentInterface - The parent interface.
        Returns:
        The child interfaces.
        Throws:
        org.opendaylight.mdsal.common.api.ReadFailedException - if an exception occurs while reading from the datastore.
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • isExternalInterface

        @Deprecated
        boolean isExternalInterface​(java.lang.String interfaceName)
        Determine whether an interface is external.
        Parameters:
        interfaceName - The interface name.
        Returns:
        true if the interface is external, false if it isn't.
      • isExternalInterface

        boolean isExternalInterface​(org.opendaylight.mdsal.binding.api.ReadTransaction tx,
                                    java.lang.String interfaceName)
                             throws org.opendaylight.mdsal.common.api.ReadFailedException,
                                    java.util.concurrent.ExecutionException,
                                    java.lang.InterruptedException
        Determine whether an interface is external.
        Parameters:
        tx - The transaction to use.
        interfaceName - The interface name.
        Returns:
        true if the interface is external, false if it isn't.
        Throws:
        org.opendaylight.mdsal.common.api.ReadFailedException - if an exception occurs while reading from the datastore.
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • 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<org.opendaylight.yangtools.yang.common.Uint64,​BridgeRefEntry> getBridgeRefEntryMap()
      • isItmOfTunnelsEnabled

        boolean isItmOfTunnelsEnabled()
      • addInternalTunnelToCache

        void addInternalTunnelToCache​(java.lang.String tunnelName,
                                      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface iface)
      • getInternalTunnelCacheInfo

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface getInternalTunnelCacheInfo​(java.lang.String tunnelName)
      • removeInternalTunnelFromCache

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface removeInternalTunnelFromCache​(java.lang.String tunnelName)