[OPNFLWPLUG-270] Cannot set Mac Address in the Action Field Created: 09/Sep/14 Updated: 27/Sep/21 Resolved: 11/Nov/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Shuva Jyoti Kar | Assignee: | Shuva Jyoti Kar |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 1772 |
| Description |
|
code segment ActionBuilder ab = createActionBuilder(order); or: MacAddress addr = new MacAddress(mac); Error : > java.lang.IllegalArgumentException: Invalid character 'M' encountered |
| Comments |
| Comment by Shuva Jyoti Kar [ 09/Sep/14 ] |
|
Attachment Screenshot from 2014-09-02 17:52:32.png has been added with description: Debugged MatchconvertorImplto find the mac address is wrongly set. |
| Comment by Abhijit Kumbhare [ 09/Sep/14 ] |
|
Assigning it to Prasanna - in the meeting we had discussed this was a user error - but lets see. |
| Comment by Shuva Jyoti Kar [ 11/Sep/14 ] |
|
The Mac address in the addflowinputbuilder is actually set incorrectly |
| Comment by Shuva Jyoti Kar [ 11/Sep/14 ] |
|
Attachment error.JPG has been added with description: The Mac address in the flow input builder is actually set incorrectly |
| Comment by Abhijit Kumbhare [ 11/Sep/14 ] |
|
Anil, I don't think it will be the case but could this be anything to do with the MAC address comparator bug?
|
| Comment by Anil Vishnoi [ 11/Sep/14 ] |
|
Hi Abhijit, No, comparator comes to the picture where we fetch statistics data from switch. I believe this issue is happening while sending flow down to the switch. Thanks |
| Comment by Abhijit Kumbhare [ 16/Sep/14 ] |
|
Prasanna had sent the following note to Shuva after investigation: Hello, Abhijit: |
| Comment by Devin Avery [ 16/Sep/14 ] |
|
Hello - A summary of the problem / solution was request at the MD-SAL status meeting today. Could someone please summarize what the problem is and what the propose solution is? People are just interested in what is going on with this one. Thank you! Devin |
| Comment by Robert Varga [ 18/Sep/14 ] |
|
Can you expand your problem report with the type of "mac" and how it is being initialized? |
| Comment by Tony Tkacik [ 18/Sep/14 ] |
|
Added testcase which shows this is not bug of MD-SAL. https://git.opendaylight.org/gerrit/11307 Testcase write correctly constructed mac address in flow: Then testcase read it and compares MAC address value with original one. As Robert mentioned, please show how this flow was constructed, because everything points it is user bug, when some did something as: MacAddress original; Returning it back to Openflowplugin, since submitted test case shows it is not Openflowplugin bug. Also integration testsuite https://jenkins.opendaylight.org/integration/job/integration-master-csit-base-of13/2629/robot/report/log.html |
| Comment by Michal Rehak [ 18/Sep/14 ] |
|
The attachment clearly shows that value of exposed MacAddress contains toString output of some probably internal instance of mac address: getAddress "MacAddressvalue=" |
| Comment by Michal Rehak [ 18/Sep/14 ] |
|
The attachment clearly shows that value of exposed MacAddress contains toString output of some (probably internal) instance of mac address: getAddress=MacAddress [_value=MacAddress [_value=a0:b1:c2:d3:e4:35]] MacAddress.toString() looks like this: if (_value != null) { else { builder.append(", "); } builder.append("_value="); where _value is of type String and contains mac address in hex-format. Correct dump would look like this: Assigning to reporter. |
| Comment by VLN Mehar Simhadri [ 19/Sep/14 ] |
|
The anamoly is identified in the org.opendaylight.controller.frm.impl.FlowForwarder which implements the DataChangeListener interface. Is it possible that the issue is in the DataListener code path? |
| Comment by VLN Mehar Simhadri [ 19/Sep/14 ] |
|
The anomaly is identified in the org.opendaylight.controller.frm.impl.FlowForwarder which implements the DataChangeListener interface. Is it possible that the issue is in the DataListener code path? |
| Comment by VLN Mehar Simhadri [ 19/Sep/14 ] |
|
The anomaly is identified in the org.opendaylight.controller.frm.impl.FlowForwarder which implements the DataChangeListener interface. Is it possible that the issue is in the DataListener code path? |
| Comment by Michal Rehak [ 19/Sep/14 ] |
|
Hi Mehar, 1. app/user creates flow So if:
Please check input. |
| Comment by Abhijit Kumbhare [ 22/Sep/14 ] |
|
Moved to Helium 1 as SFC (sfcofl2) is not blocked on this and there is still an opinion from the OpenFlow plugin team that there was an issue with the input (see Michal Rehak's last comment). |
| Comment by Viera Zelcamova [ 11/Nov/14 ] |
|
no response |