Build Docker image for ASIC trident2 target saivs:
./build.sh -a trident2 -t saivsNOTE: The saivs target - defined in sonic-sairedis - is used as a virtual data-plane interface in SONiC Virtual Switch (SONiC VS). Though it does not configure the forwarding path but still process SAI CRUD calls in proper manner. This allows to use saivs for SAI testcases development without running traffic.
Start Docker container:
./run.sh -a trident2 -t saivsRun SAI Challenger testcases:
./exec.sh -t saivs pytest --setup=../setups/saivs_standalone.json -v -k "test_l2_basic"Run SAI Challenger testcases and generate HTML report:
./exec.sh -t saivs pytest --setup=../setups/saivs_standalone.json -v -k "test_l2_basic" --html=report.html --self-contained-html