@Beta
public interface ExtensionTreatmentInterpreter
extends org.onosproject.codec.ExtensionTreatmentCodec
| 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.
|
boolean supported(org.onosproject.net.flow.instructions.ExtensionTreatmentType extensionTreatmentType)
extensionTreatmentType - extension treatment typeorg.projectfloodlight.openflow.protocol.action.OFAction mapInstruction(org.projectfloodlight.openflow.protocol.OFFactory factory,
org.onosproject.net.flow.instructions.ExtensionTreatment extensionTreatment)
factory - OpenFlow factoryextensionTreatment - extension treatmentorg.onosproject.net.flow.instructions.ExtensionTreatment mapAction(org.projectfloodlight.openflow.protocol.action.OFAction action)
throws UnsupportedOperationException
action - OpenFlow actionUnsupportedOperationException - if driver does not support extension type