You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of things that need to be taken care of. (1) using the Futurize tool solved most of the syntax upgrade (print...); (2) byte and str compatibility, esp. in socket communication; (3) upgrade to python3, pip3, and future in the vagrant file (4) change in the Dockerfile (5) "relative import" doesn't work well, back to the "absolute import". (6) invoking "Ryu-manager" in the RyuControllerInterface.
### Automatic conversion to Py2/3
Futurize stage 1
Python3 unittest causes multiple failures in dependencies so continue:
Futurize stage 2
. futurize --stage2 /**/.py
Go through all the python modules to change:
.metaclass
.pickle (loads byte, no str; dump str to bytes)
. list(dict.keys())
. Modifying socket implementation due to the incompatibility between str and bytes.
-update requirements.txt: ryu4.34, Flask
Making changes in vagrant, Docker-file, run_sdx.sh, run_lc.sh, and vendor-updates:
. use python3 as the default python
. use pip3
. use Ubuntu 18.04 in docker and ryu4.34
Going through all the unittest.
./lib
./shared
./localctlr
./sdxctlr
Jenkins deployment in vagrant
The text was updated successfully, but these errors were encountered:
There are a number of things that need to be taken care of. (1) using the Futurize tool solved most of the syntax upgrade (print...); (2) byte and str compatibility, esp. in socket communication; (3) upgrade to python3, pip3, and future in the vagrant file (4) change in the Dockerfile (5) "relative import" doesn't work well, back to the "absolute import". (6) invoking "Ryu-manager" in the RyuControllerInterface.
### Automatic conversion to Py2/3
Futurize stage 1
Python3 unittest causes multiple failures in dependencies so continue:
. futurize --stage2 /**/.py
.metaclass
.pickle (loads byte, no str; dump str to bytes)
. list(dict.keys())
. Modifying socket implementation due to the incompatibility between str and bytes.
-update requirements.txt: ryu4.34, Flask
. use python3 as the default python
. use pip3
. use Ubuntu 18.04 in docker and ryu4.34
Going through all the unittest.
./lib
./shared
./localctlr
./sdxctlr
Jenkins deployment in vagrant
The text was updated successfully, but these errors were encountered: