[OPNFLWJAVA-31] Missing support for SET_TP_SRC/SET_TP_DST actions Created: 11/Aug/14  Updated: 13/Aug/14  Resolved: 13/Aug/14

Status: Resolved
Project: openflowjava
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Timotej Kubas Assignee: Timotej Kubas
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


Issue Links:
Blocks
blocks OPNFLWPLUG-229 OF plugin does not handle SET_TP_SRC/... Resolved
External issue ID: 1522

 Description   

Add flow request with actions SET_TP_SRC or SET_TP_DST is processed on switch with default action "drop" when using OF1.3.
When same request uses OF1.0 protocol is processed as expected.

Support for SET_TP_SRC and SET_TP_DST is implemented in OF1.0 (https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.0.0.pdf / pages 21 - 22).

and is not implemented in OF1.3. (https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.3.2.pdf / page 57).

Mentioned actions are defined in yang model:
opendaylight\md-sal\model\model-flow-base\src\main\yang\opendaylight-action-types.yang

Support and implementation of these actions in OF1.3 is needed because of VTN project, which is planning to use these actions in Helium.
Therefore, VTN project requests that this issue is fixed by Milestone 5 of Helium release.



 Comments   
Comment by Michal Polkorab [ 12/Aug/14 ]

The SET_TP_SRC and SET_TP_DST actions are supported only in OpenFlow v1.0. These actions do not exist anymore in OpenFlow v1.3.

However, the functionality was moved into SET-FIELD action, where you have to use one of match entries mentioned below (based on what is needed):

  • OFPXMT_OFB_TCP_SRC
  • OFPXMT_OFB_TCP_DST
  • OFPXMT_OFB_UDP_SRC
  • OFPXMT_OFB_UDP_DST

OpenflowJava handles these actions correctly. The problem is in action conversion. Some of the components above openflowjava should take care of it.

Generated at Wed Feb 07 20:28:46 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.