Uploaded image for project: 'tsdr'
  1. tsdr
  2. TSDR-61

TSC-96 IetfInetUtil conversion from byte[] and InetAddress returns a different implementation of Ipv4Address

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      This effects SysLogCollector, SysLogGenerator and NetFlowCollector.
       

      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.
       
      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/

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            scottmelton Scott Melton
            scottmelton Scott Melton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: