SAI testing and integration framework that is based on SONiC sairedis project.
SAI Challenger can be executed in two modes:
- standalone mode - both syncd and pytest are running in the same Docker container;
- client-server mode - syncd and pytest are running in the separate Docker containers;
The standalone mode SHOULD be used in case of:
- running TCs on vslib SAI implementation;
- running TCs without traffic (without
--traffic
option) on HW; - running TCs with/without traffic on ASIC simulator when it also runs inside the same Docker container as syncd;
The client-server mode MUST be used in case of:
- running TCs with traffic (with
--traffic
option) on HW; - running TCs with traffic on ASIC simulator when it also runs inside the same Docker container as syncd but exposes ports outside the container;
The client-server mode CAN be used in all the cases defined for the standalone mode.
To get SAI Challenger sources:
git clone https://github.com/opencomputeproject/SAI-Challenger.git
cd sai-challenger/
git submodule update --init --recursive
For more information on how port SAI Challenger to new platform, please refer to Porting Guide document.
For more information on how SAI Challenger operates on SAI, please refer to SAI operation document.