1 package org.onosproject.openflow.controller;
6 import org.projectfloodlight.openflow.protocol.OFObject;
9 * An interface implemented by OpenFlow devices that enables providers to
10 * retrieve ports based on port property.
12 public interface WithTypedPorts {
15 * Return a list of interfaces (ports) of the type associated with this
18 * @param type The port description property type of requested ports
19 * @return A potentially empty list of ports.
21 List<? extends OFObject> getPortsOf(PortDescPropertyType type);
24 * Returns the port property types supported by the driver implementing this
27 * @return A set of port property types
29 Set<PortDescPropertyType> getPortTypes();