sonic-buildimage/dockers/docker-ptf
Zhaohui Sun cc30771f6b
Add python3 virtual environment for docker-ptf (#10599)
Why I did it
Migrate ptftests script to python3, in order to do an incremental migration, add python virtual environment firstly, install all required python packages in virtual env as well.
Then migrate ptftests scripts from python2 to python3 one by one avoid impacting non-changed scripts.

Signed-off-by: Zhaohui Sun zhaohuisun@microsoft.com

How I did it
Add python3 virtual environment for docker-ptf.
Add submodule ptf-py3 and install patched ptf 0.9.3 into virtual environment as well, two ptf issues were reported here:
p4lang/ptf#173
p4lang/ptf#174

Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
2022-04-26 09:13:26 +08:00
..
conf.d [docker-ptf] Add support for spytest to ptf container (#4410) 2020-04-13 16:56:19 -07:00
brcm_interface_to_front_map.ini [docker-ptf]: build docker ptf 2021-01-27 08:28:21 -08:00
Dockerfile.j2 Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
msn_2700_interface_to_front_map.ini [docker-ptf]: build docker ptf 2021-01-27 08:28:21 -08:00
ptf_tgen.sh [docker-ptf] Add support for spytest to ptf container (#4410) 2020-04-13 16:56:19 -07:00
supervisord.conf Fix typos and comment alignment in supervisor.conf files (#3714) 2019-11-06 09:24:54 -08:00