[TSC-96] IetfInetUtil conversion from byte[] and InetAddress returns a different implementation of Ipv4Address Created: 21/Apr/18 Updated: 30/Apr/19 Resolved: 02/May/18 |
|
| Status: | Resolved |
| Project: | tsc |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Fluorine |
| Type: | Weather Item | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Abhijit Kumbhare |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| ODL Project: | mdsal | ||||||||
| ODL Release: | |||||||||
| ODL Impacted Projects: | all-projects | ||||||||
| ODL Expected Date: | |||||||||
| Description |
|
Since InetAddress and byte[] do not semantically hold a zone, the utilities return the more-strictly validated subclass of Ip{v4,v6,}Address, Ip{v4,v6,}AddressNoZone. Projects that require an Ip{v4,v6}Address instance rather than any subclass of it, need to re-wrap the result through one of the copy constructors. |
| Comments |
| Comment by Robert Varga [ 21/Apr/18 ] |
|
MD-SAL patch: https://git.opendaylight.org/gerrit/#/c/70769/ Example downstream fixes: https://git.opendaylight.org/gerrit/#/c/71071/ https://git.opendaylight.org/gerrit/#/c/71105/
|