[OPNFLWPLUG-289] Wrong values in IP ToS bits match field for OF 1.0 Created: 20/Sep/14 Updated: 27/Sep/21 Resolved: 01/Oct/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Hideyuki Tai | Assignee: | Hideyuki Tai |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 1994 |
| Description |
|
I've observed that the MD-SAL OF plugin set wrong values in IP ToS bits match field of FLOW_MOD messages for OpenFlow 1.0 switch. It seems to me that the OF plugin set DSCP value into ofp_match.nw_tos, although it must use the TOS (DSCP << 2) value. [How to reproduce the problem] Please try to install flow entry which has IP ToS bits match field. Method: PUT Message Body: ,"ingressPort":"1","priority":"500","tosBits":"3","actions":["SET_NW_TOS=1"] } |
| Comments |
| Comment by Michal Rehak [ 29/Sep/14 ] |
| Comment by Michal Rehak [ 29/Sep/14 ] |
|
Hideyuki, please retest. |
| Comment by Hideyuki Tai [ 30/Sep/14 ] |
|
(In reply to michal rehak from comment #2) Hi Michal, Thank you for submitting the patch. I could not make time to test the patch. |
| Comment by Michal Rehak [ 01/Oct/14 ] |
|
merged |