[OPNFLWPLUG-336] OF Plugin does not TX set-dl-type-action Created: 07/Jan/15 Updated: 27/Sep/21 Resolved: 12/Dec/17 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Kuldip | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| Description |
|
We have a Minnet (Version 2.2.0) running with one switch (OpenFlow 1.3) and two hosts. I created a flow with the action of "setting ethernet-type to set-dl-type-action. When I go to the switch I do not see this action installed. I have also included the screen capture of wireshark trace. _____________________ cookie=0x2b00000000000003, duration=9124.918s, table=0, n_packets=0, n_bytes=0, priority=100,dl_type=0x88cc actions=CONTROLLER:65535 ________________________________________________________________________________ |
| Comments |
| Comment by Kuldip [ 07/Jan/15 ] |
|
Attachment Snapshot(2).png has been added with description: WireShark Trace Capture Showing Only One Action Sent from Controller To Switch |
| Comment by Kuldip [ 07/Jan/15 ] |
|
I did talk with Michal, Just adding these comments also |
| Comment by Michal Polkorab [ 07/Jan/15 ] |
|
Hi Kuldip, I have investigated your issue more and finally I am able to push your flow to switch. The flow should look like this: <?xml version="1.0" encoding="UTF-8" standalone="no"?> My OVS switch replies with error message - BAD ACTION - OFPBAC_BAD_SET_ARGUMENT = 15, /* Bad argument in SET_FIELD action. */ |
| Comment by Kuldip [ 07/Jan/15 ] |
|
thanks for the help Michal. The latest version of OVS-SWITCH is 2.3.1. I have not tried with it. This however does narrow the scope of the bug somewhat Closely tied to this is also another issue with DLUX/YNAG-UI Model. Where the original UI produces the original JSON and gives the error. As you suggested is this the correct JSON/REST API for setting the dl-type. Should this defect then be changed to YANG-UI. |
| Comment by Michal Polkorab [ 07/Jan/15 ] |
|
Yes, this is corrrect XML. So it is probably a good question for YANG-UI developers. I don't know the answer. |
| Comment by Kuldip [ 07/Jan/15 ] |
|
I see the same issue with opendaylight not sending an action of setting the ethernet-type if the "apply-actions-case_set-dl-type-action-case" field is used in the YangUI for flow installation. The same is true if I use JSON for this. |
| Comment by Kuldip [ 08/Jan/15 ] |
|
As pointed to by Michal, it seems to be working with new JSON as the action is being sent, but the DLUX YANG-UI is generating wrong JSON as well does not send the complete action sequence. I have bunch of bugs opened which all are of similar type. Here is the complete list Any advice on this will be great. In all these cases we have missing action field |
| Comment by Michal Rehak [ 14/Jan/15 ] |
|
Should be taken care of by model cleanup in lithium |
| Comment by Jamo Luhrsen [ 17/Mar/15 ] |
|
Attachment flow_mod_with_buffer_id_0.pcap has been added with description: flow mod using buffer_id == 0 |
| Comment by Jamo Luhrsen [ 17/Mar/15 ] |
|
(In reply to Jamo Luhrsen from comment #8) this comment/attachment was made in error. please ignore |
| Comment by Andrej Leitner [ 18/Aug/16 ] |
|
this could be duplicate modeled action due to intersection of OF 1.0 & 1.3 |
| Comment by Anil Vishnoi [ 12/Dec/17 ] |
|
No activity on the bug for over an year, so closing the bug. Please feel free to re-open the bug if you see the issue with carbon/nitrogen/oxygen branch. |