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

sys.config creation for LINC-OE fails if controller IP is too long

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: None
    • Labels:
      None

      Description

      If the controller ip is too long, LINC-config-generator puts the list of controllers in sys.config on a separate line. The sed substitution in our opticalUtils.py script will then fail.

      For instance, this produces the intended result:
      sudo -E python tools/test/topos/opticalTest.py 192.168.56.1

      while this does not:
      sudo -E python tools/test/topos/opticalTest.py 192.168.56.101

      Some random testing shows controller IPs with length of 12 characters are ok, more are not.

        Attachments

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

          Activity

            People

            Assignee:
            marc Marc De Leenheer (Inactive)
            Reporter:
            marc Marc De Leenheer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: