Interface OpenFlowOpticalSwitch
-
- All Superinterfaces:
OpenFlowSwitch,WithTypedPorts
public interface OpenFlowOpticalSwitch extends OpenFlowSwitch, WithTypedPorts
A marker interface for optical switches, which require the ability to pass port information to a Device provider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.List<org.projectfloodlight.openflow.protocol.OFPortDesc>getPorts()Returns a list of standard (Ethernet) ports.default java.util.List<org.onosproject.net.device.PortDescription>processExpPortStats(org.projectfloodlight.openflow.protocol.OFMessage msg)Returns updated PortDescriptions built from experimenter message received from device.-
Methods inherited from interface org.onosproject.openflow.controller.OpenFlowSwitch
channelId, datapathDescription, deviceType, disconnectSwitch, factory, features, getDpid, getId, getMeterFeatures, getRole, getStringId, handleMessage, hardwareDescription, isConnected, manufacturerDescription, returnRoleReply, sendMsg, sendMsg, serialNumber, setRole, softwareDescription
-
Methods inherited from interface org.onosproject.openflow.controller.WithTypedPorts
getPortsOf, getPortTypes
-
-
-
-
Method Detail
-
getPorts
@Beta java.util.List<org.projectfloodlight.openflow.protocol.OFPortDesc> getPorts()
Returns a list of standard (Ethernet) ports.- Specified by:
getPortsin interfaceOpenFlowSwitch- Returns:
- List of standard (Ethernet) ports
-
processExpPortStats
default java.util.List<org.onosproject.net.device.PortDescription> processExpPortStats(org.projectfloodlight.openflow.protocol.OFMessage msg)
Returns updated PortDescriptions built from experimenter message received from device.- Parameters:
msg- OpenFlow message from device.- Returns:
- List of updated PortDescriptions.
-
-