Class InterfacemgrProvider

  • All Implemented Interfaces:
    java.lang.AutoCloseable, IInterfaceManager

    @Singleton
    public class InterfacemgrProvider
    extends java.lang.Object
    implements java.lang.AutoCloseable, IInterfaceManager
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBridgeForNodeIid​(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, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation bridge)  
      void addNodeIidForInterface​(java.lang.String interfaceName, 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)  
      void addTerminationPointForInterface​(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation terminationPoint)  
      void bindService​(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)  
      void bindService​(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo, TypedWriteTransaction<Datastore.Configuration> tx)  
      void close()  
      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)  
      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)
      Create a VLAN interface.
      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)
      Create a VLAN interface.
      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()  
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getBridgeForNodeIid​(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.util.Map getBridgeRefEntryMap()  
      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.
      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.controller.md.sal.binding.api.DataBroker getDataBroker()  
      java.lang.String getDpidForInterface​(java.lang.String interfaceName)  
      java.lang.String getDpidForInterface​(java.lang.String interfaceName, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeInstanceId)  
      org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface​(java.lang.String ifName)  
      org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf)  
      java.lang.String getEndpointIpForDpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId)  
      org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService getEntityOwnershipService()  
      java.util.List<ActionInfo> getInterfaceEgressActions​(java.lang.String ifName)  
      InterfaceInfo getInterfaceInfo​(java.lang.String interfaceName)  
      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.
      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)
      Retrieve the interface information from the configuration datastore.
      InterfaceInfo getInterfaceInfoFromOperationalDataStore​(java.lang.String interfaceName)  
      InterfaceInfo getInterfaceInfoFromOperationalDataStore​(java.lang.String interfaceName, InterfaceInfo.InterfaceType interfaceType)  
      InterfaceInfo getInterfaceInfoFromOperationalDSCache​(java.lang.String interfaceName)
      This API is currently used only for CLI usage.
      long getLogicalTunnelSelectGroupId​(int lportTag)  
      org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getNodeIidForInterface​(java.lang.String interfaceName)  
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getOvsdbBridgeForInterface​(java.lang.String interfaceName)  
      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)  
      java.lang.String getParentRefNameForInterface​(java.lang.String interfaceName)  
      java.lang.Long getPortForInterface​(java.lang.String ifName)  
      java.lang.Long getPortForInterface​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf)  
      java.lang.String getPortNameForInterface​(java.lang.String dpnId, java.lang.String interfaceName)  
      java.lang.String getPortNameForInterface​(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)
      Get all termination points by type on a given DPN.
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation getTerminationPoint​(java.lang.String interfaceName)  
      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.OvsdbTerminationPointAugmentation getTerminationPointForInterface​(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)
      Get all termination points of type tunnel on a given DPN.
      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()  
      boolean isExternalInterface​(java.lang.String interfaceName)
      Determine whether an interface is external.
      boolean isExternalInterface​(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName)
      Determine whether an interface is external.
      boolean isItmDirectTunnelsEnabled()  
      boolean isServiceBoundOnInterfaceForEgress​(short servicePriority, java.lang.String interfaceName)  
      boolean isServiceBoundOnInterfaceForIngress​(short servicePriority, java.lang.String interfaceName)  
      InterfaceInfo populateInterfaceInfo​(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)  
      void removeBridgeForNodeIid​(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)  
      void removeNodeIidForInterface​(java.lang.String interfaceName)  
      void removeTerminationPointForInterface​(java.lang.String interfaceName)  
      void start()  
      void unbindService​(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)  
      void updateInterfaceParentRef​(java.lang.String interfaceName, java.lang.String parentInterface)  
      void updateInterfaceParentRef​(java.lang.String interfaceName, java.lang.String parentInterface, boolean readInterfaceBeforeWrite)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • start

        public void start()
      • close

        @PreDestroy
        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • getEntityOwnershipService

        public org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService getEntityOwnershipService()
      • getDataBroker

        public org.opendaylight.controller.md.sal.binding.api.DataBroker getDataBroker()
      • getPortForInterface

        public java.lang.Long getPortForInterface​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf)
        Specified by:
        getPortForInterface in interface IInterfaceManager
      • populateInterfaceInfo

        public InterfaceInfo populateInterfaceInfo​(java.lang.String interfaceName,
                                                   org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)
      • getInterfaceInfoFromConfigDataStore

        public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore​(java.lang.String interfaceName)
        Description copied from interface: IInterfaceManager
        Retrieve the interface information from the configuration datastore.
        Specified by:
        getInterfaceInfoFromConfigDataStore in interface IInterfaceManager
        Parameters:
        interfaceName - The interface name.
        Returns:
        The interface information.
      • getInterfaceInfoFromConfigDataStore

        public 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
        Description copied from interface: IInterfaceManager
        Retrieve the interface information from the configuration datastore.
        Specified by:
        getInterfaceInfoFromConfigDataStore in interface IInterfaceManager
        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.
      • getDpnForInterface

        public org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf)
        Specified by:
        getDpnForInterface in interface IInterfaceManager
      • getDpnForInterface

        public org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface​(java.lang.String ifName)
        Specified by:
        getDpnForInterface in interface IInterfaceManager
      • getEndpointIpForDpn

        public java.lang.String getEndpointIpForDpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
        Specified by:
        getEndpointIpForDpn in interface IInterfaceManager
      • getVlanInterfaces

        public java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVlanInterfaces()
        Specified by:
        getVlanInterfaces in interface IInterfaceManager
      • getVxlanInterfaces

        public java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVxlanInterfaces()
        Specified by:
        getVxlanInterfaces in interface IInterfaceManager
      • getChildInterfaces

        public java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getChildInterfaces​(java.lang.String parentInterface)
        Description copied from interface: IInterfaceManager
        Retrieve an interface's children.
        Specified by:
        getChildInterfaces in interface IInterfaceManager
        Parameters:
        parentInterface - The parent interface.
        Returns:
        The child interfaces.
      • getChildInterfaces

        public 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
        Description copied from interface: IInterfaceManager
        Retrieve an interface's children.
        Specified by:
        getChildInterfaces in interface IInterfaceManager
        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

        public boolean isExternalInterface​(java.lang.String interfaceName)
        Description copied from interface: IInterfaceManager
        Determine whether an interface is external.
        Specified by:
        isExternalInterface in interface IInterfaceManager
        Parameters:
        interfaceName - The interface name.
        Returns:
        true if the interface is external, false if it isn't.
      • isExternalInterface

        public 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
        Description copied from interface: IInterfaceManager
        Determine whether an interface is external.
        Specified by:
        isExternalInterface in interface IInterfaceManager
        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

        public java.lang.String getPortNameForInterface​(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId,
                                                        java.lang.String interfaceName)
        Specified by:
        getPortNameForInterface in interface IInterfaceManager
      • getPortNameForInterface

        public java.lang.String getPortNameForInterface​(java.lang.String dpnId,
                                                        java.lang.String interfaceName)
        Specified by:
        getPortNameForInterface in interface IInterfaceManager
      • getTerminationPointCache

        public java.util.Map<java.lang.String,​org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getTerminationPointCache()
        Specified by:
        getTerminationPointCache in interface IInterfaceManager
      • getBfdStateCache

        public 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()
        Specified by:
        getBfdStateCache in interface IInterfaceManager
      • addTerminationPointForInterface

        public void addTerminationPointForInterface​(java.lang.String interfaceName,
                                                    org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation terminationPoint)
      • getTerminationPoint

        public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation getTerminationPoint​(java.lang.String interfaceName)
      • removeTerminationPointForInterface

        public void removeTerminationPointForInterface​(java.lang.String interfaceName)
      • addNodeIidForInterface

        public void addNodeIidForInterface​(java.lang.String interfaceName,
                                           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)
      • removeNodeIidForInterface

        public void removeNodeIidForInterface​(java.lang.String interfaceName)
      • getNodeIidForInterface

        public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getNodeIidForInterface​(java.lang.String interfaceName)
      • getDpidForInterface

        public java.lang.String getDpidForInterface​(java.lang.String interfaceName)
      • getDpidForInterface

        public java.lang.String getDpidForInterface​(java.lang.String interfaceName,
                                                    org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeInstanceId)
      • addBridgeForNodeIid

        public void addBridgeForNodeIid​(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,
                                        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation bridge)
      • removeBridgeForNodeIid

        public void removeBridgeForNodeIid​(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)
      • getBridgeForNodeIid

        public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getBridgeForNodeIid​(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)
      • updateInterfaceParentRef

        public void updateInterfaceParentRef​(java.lang.String interfaceName,
                                             java.lang.String parentInterface)
        Specified by:
        updateInterfaceParentRef in interface IInterfaceManager
      • updateInterfaceParentRef

        public void updateInterfaceParentRef​(java.lang.String interfaceName,
                                             java.lang.String parentInterface,
                                             boolean readInterfaceBeforeWrite)
        Specified by:
        updateInterfaceParentRef in interface IInterfaceManager
      • getTerminationPointForInterface

        public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation getTerminationPointForInterface​(java.lang.String interfaceName)
        Specified by:
        getTerminationPointForInterface in interface IInterfaceManager
      • getOvsdbBridgeForInterface

        public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getOvsdbBridgeForInterface​(java.lang.String interfaceName)
        Specified by:
        getOvsdbBridgeForInterface in interface IInterfaceManager
      • getOvsdbBridgeForNodeIid

        public 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)
        Specified by:
        getOvsdbBridgeForNodeIid in interface IInterfaceManager
      • getPortsOnBridge

        public 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)
        Specified by:
        getPortsOnBridge in interface IInterfaceManager
      • getTunnelPortsOnBridge

        public 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)
        Get all termination points of type tunnel on a given DPN.
        Specified by:
        getTunnelPortsOnBridge in interface IInterfaceManager
        Parameters:
        dpnId - Datapath Node Identifier
        Returns:
        If the data at the supplied path exists, returns a list of all termination point Augmentations of type tunnel
      • getPortsOnBridgeByType

        public 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)
        Get all termination points by type on a given DPN.
        Specified by:
        getPortsOnBridgeByType in interface IInterfaceManager
        Parameters:
        dpnId - Datapath Node Identifier
        Returns:
        If the data at the supplied path exists, returns a Map where key is interfaceType and value is list of termination points of given type