Interface WithTypedPorts
-
- All Known Subinterfaces:
OpenFlowOpticalSwitch
public interface WithTypedPortsAn interface implemented by OpenFlow devices that enables providers to retrieve ports based on port property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.java.util.Set<PortDescPropertyType>getPortTypes()Returns the port property types supported by the driver implementing this interface.
-
-
-
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
-
-