[OPNFLWPLUG-509] Failed to create flow entries which change UDP destination port. Created: 19/Jun/15 Updated: 27/Sep/21 Resolved: 22/Jun/15 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Hideyuki Tai | Assignee: | Unassigned |
| 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: | 3817 |
| Description |
|
OpenFlow plugin failed to create flow entries which change UDP destination port. I saw the following WARN message when I tried to install a flow entry which contained an action modify UDP destination port. 2015-06-18 11:15:03,315 | WARN | entLoopGroup-6-2 | OFEncoder | 213 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.SNAPSHOT | Message serialization failed |
| Comments |
| Comment by Hideyuki Tai [ 19/Jun/15 ] |
|
This problem always occurs with OpenFlow 1.3 switches. Therefore, I think the bug-fix should be merged in Lithium. |
| Comment by Hideyuki Tai [ 19/Jun/15 ] |
|
I observed this issue on Lithium-RC1 (06/16). How to reproduce the issue 1. Run the Lithium-RC1. ./bin/karaf You can get the RC1 from the above link: 2. Install the following feature on the Karaf console. feature:install odl-openflowplugin-flow-services-rest 3. Run Mininet with an OpenFlow 1.3 switch. sudo mn --controller=remote,ip=192.168.2.62 --switch ovsk,protocols=OpenFlow13 4. Try to install a flow entry to OpenFlow 1.3 switch via RESTCONF. curl -v --user "admin":"admin" -H "Accept: application/xml" -H \ Here is also the pretty format version of the xml. <?xml version='1.0' encoding='utf-8'?> At this time, you would see the following WARN message in the karaf.log. 2015-06-19 03:57:45,087 | WARN | entLoopGroup-6-1 | OFEncoder | 187 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.Lithium-RC1-v201506160017 | Message serialization failed 5. Check the flow table of the switch on the Mininet. mininet> dpctl dump-flows -O OpenFlow13
You would see that the flow entry is not installed. |
| Comment by Hideyuki Tai [ 19/Jun/15 ] |
|
I've submitted the patch into the stable/lithium branch of the openflowplugin.git. https://git.opendaylight.org/gerrit/#/c/22960/ I've confirmed that the issue is not occurred with the patch. |
| Comment by Hideyuki Tai [ 19/Jun/15 ] |
|
Also, I observed the same issue for ICMP code field. I sent the following XML to the RESTCONF to install a flow entry which change the ICMP code field. <?xml version='1.0' encoding='utf-8'?> I saw the following WARN message in the karaf.log. 2015-06-19 04:40:48,100 | WARN | entLoopGroup-6-1 | OFEncoder | 187 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.Lithium-RC1-v201506160017 | Message serialization failed |
| Comment by Hideyuki Tai [ 22/Jun/15 ] |
|
https://git.opendaylight.org/gerrit/#/c/22960/ (master) |