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>
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.
|12924,2||[ONOS-6051] Use full path instead to fix the issue of "File or directory not found".||master||onos||Status: MERGED||+2||+1|