public class NiciraExtensionTreatmentInterpreter extends org.onosproject.net.driver.AbstractHandlerBehaviour implements ExtensionTreatmentInterpreter, org.onosproject.net.behaviour.ExtensionTreatmentResolver
| Constructor and Description |
|---|
NiciraExtensionTreatmentInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.flow.instructions.ExtensionTreatment |
decode(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context) |
com.fasterxml.jackson.databind.node.ObjectNode |
encode(org.onosproject.net.flow.instructions.ExtensionTreatment extensionTreatment,
org.onosproject.codec.CodecContext context) |
org.onosproject.net.flow.instructions.ExtensionTreatment |
getExtensionInstruction(org.onosproject.net.flow.instructions.ExtensionTreatmentType type) |
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 typepublic org.onosproject.net.flow.instructions.ExtensionTreatment getExtensionInstruction(org.onosproject.net.flow.instructions.ExtensionTreatmentType type)
getExtensionInstruction in interface org.onosproject.net.behaviour.ExtensionTreatmentResolverpublic com.fasterxml.jackson.databind.node.ObjectNode encode(org.onosproject.net.flow.instructions.ExtensionTreatment extensionTreatment,
org.onosproject.codec.CodecContext context)
encode in interface org.onosproject.codec.ExtensionTreatmentCodecpublic org.onosproject.net.flow.instructions.ExtensionTreatment decode(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context)
decode in interface org.onosproject.codec.ExtensionTreatmentCodec