Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-5174

A bug related to Netconf message-id

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.5.1, 1.6.0, 1.5.2, 1.6.1
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
    • Environment:

      ONOS 1.6 connects to routers with Netconf

    • Story Points:
      2

      Description

      In NetconfStreamThread.java line #227, message-id of a replied Netconf message is extracted by String messageID = outer[1].substring(0, 3).replace("\"", ""); However, substring(0, 3) can only extract first two digits of message-ids if the number is greater than 100.

      Proposal for the fix: replace that line with String messageID = outer[1].split("\"")[1]; or use regular expression to extract all the digits.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            chinghanyu Hans Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: