[CONTROLLER-1003] org.opendaylight.controller.sal.core.MacAddress is case sensitive Created: 06/Nov/14 Updated: 19/Oct/17 Resolved: 19/May/16 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | adsal |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jim West | 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 |
||
| External issue ID: | 2334 |
| Description |
|
During a test/debug cycle, we ran into a problem with the MacAddress object. It is best explained by this test case MacAddress macAddr1 = new MacAddress("FF:FF:FF:FF:FF:FF"); if (macAddr1.equals(macAddr2)) { Logically the macAddr1 and macAddr2 are the same, but the ODL code does not treat them as the same. Reading the code, the MacAddress object always treats the data as a string, not as an array of bytes. |
| Comments |
| Comment by Bhavesh Kumar [ 27/Nov/14 ] |
| Comment by Jim West [ 02/Feb/15 ] |
|
changes look good: +1 |
| Comment by Carol Sanders [ 04/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL |
| Comment by Robert Varga [ 19/May/16 ] |
|
AD-SAL has been removed, this issue will not be fixed. |