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

ECMP/WCMP P4 Demo application: OSError [errno 2] No such file or directory.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0, 1.7.2, 1.13.0
    • Fix Version/s: 1.8.0, 1.7.2
    • Component/s: None
    • Labels:
    • Environment:

      ubuntu16.04
      onos-1.7.2
      java1.8
      maven3.3.9

      Description

      When trying P4 demo: P4 Experimental Support via BMv2(https://wiki.onosproject.org/display/ONOS/P4+Experimental+Support+via+BMv2) (command: sudo -E python bmv2-demo.py), we encountered the following error.

      Traceback (most recent call last):
      File "bmv2-demo.py", line 184, in <module>
      main(args)
      File "bmv2-demo.py", line 165, in main
      ...
      ...
      OSError: [Errno 2] No such file or directory

      This happened because the python method "subprocess.call" doesn't recognize the "onos-netcfg" even we added it to PATH.

        Attachments

          Activity

            People

            Assignee:
            tjian tian jian
            Reporter:
            tjian tian jian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: