public class OplinkExtensionTreatmentInterpreter extends org.onosproject.net.driver.AbstractHandlerBehaviour implements ExtensionTreatmentInterpreter
| Constructor and Description |
|---|
OplinkExtensionTreatmentInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.flow.instructions.ExtensionTreatment |
mapAction(org.projectfloodlight.openflow.protocol.action.OFAction action)
Maps an OpenFlow action to an extension treatment.
|
org.projectfloodlight.openflow.protocol.action.OFAction |
mapInstruction(org.projectfloodlight.openflow.protocol.OFFactory factory,
org.onosproject.net.flow.instructions.ExtensionTreatment extensionTreatment)
Maps an extension treatment to an OpenFlow action.
|
boolean |
supported(org.onosproject.net.flow.instructions.ExtensionTreatmentType extensionTreatmentType)
Returns true if the given extension treatment is supported by this
driver.
|
handler, setHandlerpublic boolean supported(org.onosproject.net.flow.instructions.ExtensionTreatmentType extensionTreatmentType)
ExtensionTreatmentInterpretersupported in interface ExtensionTreatmentInterpreterextensionTreatmentType - extension treatment typepublic org.projectfloodlight.openflow.protocol.action.OFAction mapInstruction(org.projectfloodlight.openflow.protocol.OFFactory factory,
org.onosproject.net.flow.instructions.ExtensionTreatment extensionTreatment)
ExtensionTreatmentInterpretermapInstruction in interface ExtensionTreatmentInterpreterfactory - OpenFlow factoryextensionTreatment - extension treatmentpublic org.onosproject.net.flow.instructions.ExtensionTreatment mapAction(org.projectfloodlight.openflow.protocol.action.OFAction action)
throws UnsupportedOperationException
ExtensionTreatmentInterpretermapAction in interface ExtensionTreatmentInterpreteraction - OpenFlow actionUnsupportedOperationException - if driver does not support extension type