Richard.Yu
f0873f29d8
[SAI PTF]Syncd-rpc and PTF docker support sai ptf v2 ( #11610 )
...
* support sai-ptf-v2 in libsaithrift vs
* add build target docker-ptf-sai syncd-rpcv2 and saiserverv2
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* add docker ptf sai
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* add build condition for broadcom
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* add docker syncd dbg and add debug symbol to docker-saiserverv2
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* correct the build option
* change the azure pipeline build template
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* change build option for docker-ptf-sai
* enable ptf-sai docker build
* remove the build for syncd-rpcv2
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* fix issue in build tempalte
* ignore useless package build when build sai-ptf
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* remove scapy version contraint
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* remove duplicated target docker-ptf
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* change template for testing the pipeline
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* remove duplicated target
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* fix error in make script
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* add shel to setup env
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* replace with certain platform name
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* disable cache for syncd-rpcv2
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* test without cache
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* disable cache
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* testing: disable the cache for build syncd-rpcv2
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* add cache back and get the code ready for testing
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* refactor code
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* add workaround for issue in rules/sairedis.dep
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
* refactor code
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
2022-11-07 21:47:52 +08:00
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
Saikrishna Arcot
7fe1cf5938
Mark the PTF docker container as a Buster container
...
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2021-11-10 15:27:22 -08:00
Myron Sosyak
4d03526311
[docker-ptf] Upgrade to buster ( #8254 )
...
Co-authored-by: Your Name <you@example.com>
2021-08-18 10:42:03 -07:00
Guohan Lu
ca0e8cbe0e
[docker-ptf]: build docker ptf
...
- combine docker-ptf-saithrift into docker-ptf docker
- build docker-ptf under platform vs
- remove docker-ptf for other platforms
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-27 08:28:21 -08:00