Interface WithTypedPorts

  • All Known Subinterfaces:
    OpenFlowOpticalSwitch

    public interface WithTypedPorts
    An interface implemented by OpenFlow devices that enables providers to retrieve ports based on port property.
    • Method Detail

      • getPortsOf

        java.util.List<? extends org.projectfloodlight.openflow.protocol.OFObject> getPortsOf​(PortDescPropertyType type)
        Return a list of interfaces (ports) of the type associated with this OpenFlow switch.
        Parameters:
        type - The port description property type of requested ports
        Returns:
        A potentially empty list of ports.
      • getPortTypes

        java.util.Set<PortDescPropertyType> getPortTypes()
        Returns the port property types supported by the driver implementing this interface.
        Returns:
        A set of port property types