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.controller.md.sal.binding.api.ReadTransaction tx,
                                                                                                                                                    java.lang.String interfaceName)
                                                                                                                                             throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        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.controller.md.sal.common.api.data.ReadFailedException - if an exception occurs while reading from the datastore.
      • 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)
      • 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.controller.md.sal.binding.api.ReadTransaction tx,
                                                                                                                                                   java.lang.String parentInterface)
                                                                                                                                            throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Retrieve 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)
        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.controller.md.sal.binding.api.ReadTransaction tx,
                                    java.lang.String interfaceName)
                             throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        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.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()