Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
32d63e6
Added SAI-Challenger to CI setup.
maksymhedeon Aug 31, 2022
cef877f
Added saithrift to SAI-Challenger client docker image
maksymhedeon Sep 2, 2022
a331675
Update example vnet test.
elchupanebrej Sep 5, 2022
946f1b2
Add vnet outbound test based on SAI description.
maksym-prytoliuk-plv Sep 6, 2022
17b9093
Fixup double network host usage for sai-challenger-client
elchupanebrej Sep 6, 2022
bfd02b3
Kdt 17: Update docker environment (#8)
maksymhedeon Sep 7, 2022
9ce438c
Fixup VNET inbound cleanup removals in test config.
elchupanebrej Sep 7, 2022
987f8d1
Update CA_TO_PA entry in outbound test
maksym-prytoliuk-plv Sep 7, 2022
ea54251
Add vnet scenarios in DASH config format.
anton7811 Sep 7, 2022
1d8df59
Fixed saigen links.
anton7811 Sep 7, 2022
4da8289
Fixes in test scanario.
anton7811 Sep 8, 2022
49d62f6
Fixed path to saigen. Fixed inbound test.
anton7811 Sep 8, 2022
b242290
Update submodule
anton7811 Sep 8, 2022
bb44f60
Final test fixes to align with submodue version.
anton7811 Sep 8, 2022
608dbc0
Fixed VNET outbound test scenario.
anton7811 Sep 14, 2022
72afca4
Outbound test passes with traffic
maksym-prytoliuk-plv Sep 15, 2022
a55b206
Update documentation
maksymhedeon Sep 19, 2022
00ab287
Updated SAI-Challenger submodule.
anton7811 Sep 19, 2022
2d0c21e
Merge branch 'main' into test-framework-extension
anton7811 Sep 20, 2022
21c44ac
Improvements to SAI-Challenger docker flows.
anton7811 Sep 21, 2022
59afa5b
Update dash-test-sai-challenger.md
mgheorghe Sep 26, 2022
341ccb4
Add bmv2 SAI port attributes (num_active, port_list), dflt vlan, dflt…
chrispsommers Sep 30, 2022
86139a4
Added SAI-Challenger docker build verification to GitHub actions
anton7811 Sep 30, 2022
c424c62
Merge pull request #37 from chrispsommers/chris-more-switch-attr
maksym-prytoliuk-plv Oct 3, 2022
9e7707e
Add default .1Q bridge to bmv2
maksym-prytoliuk-plv Oct 3, 2022
dd18255
Fixed SAI-Challenger user guide and file namings.
anton7811 Oct 3, 2022
04df302
Scaled VNET outbound test using snappi and saigen. (1st edition)
maksymhedeon Oct 11, 2022
deb1518
Merge remote-tracking branch 'upstream/main' into merge-main-chris
chrispsommers Oct 12, 2022
de6a200
spellcheck
chrispsommers Oct 12, 2022
ce18524
Move saichallenger client docker to ACR.
chrispsommers Oct 12, 2022
1b061c6
Fix .yml formatting.
chrispsommers Oct 12, 2022
1f317ed
Fix dependency in action file.
chrispsommers Oct 12, 2022
f6965fe
Add missing .env file
chrispsommers Oct 12, 2022
981a7e3
remove space in action script, add .env dependencies
chrispsommers Oct 12, 2022
c2983c2
fix include path
chrispsommers Oct 12, 2022
c5fa177
Add saichalleneger tests to run-all-tests and CI
chrispsommers Oct 12, 2022
a013ef7
Fix docker image name.
chrispsommers Oct 12, 2022
aa3033a
Correct mixup in image names.
chrispsommers Oct 12, 2022
cffc506
Remove stray hyphen
chrispsommers Oct 12, 2022
f225dc4
Run saichallenger workflows on any branch PR.
chrispsommers Oct 12, 2022
c5d80b4
Merge remote-tracking branch 'upstream/sai-challenger-staging' into p…
chrispsommers Oct 12, 2022
0a1ec5d
Merge remote-tracking branch 'upstream/sai-challenger-staging' into p…
chrispsommers Oct 12, 2022
46461fd
Added few more VNET scenario examples.
anton7811 Oct 12, 2022
611d5e9
Slides from DASH WG Meeting (SAI Challenger Episode 2) (#254)
chrispsommers Oct 12, 2022
ce5d563
Merge remote-tracking branch 'origin/test-framework-extension' into p…
chrispsommers Oct 12, 2022
12d8d8b
Merge remote-tracking branch 'upstream/main' into publish-saic-to-acr
chrispsommers Oct 12, 2022
b0aca69
Add outbound diagram
maksym-prytoliuk-plv Oct 13, 2022
e505508
Added inbound to xfail test results. (#44)
anton7811 Oct 13, 2022
fb32d8a
Merge pull request #41 from chrispsommers/publish-saic-to-acr
anton7811 Oct 13, 2022
e746b18
Merge remote-tracking branch 'upstream/sai-challenger-staging' into p…
chrispsommers Oct 13, 2022
6513dca
Scaling test configuration documentation
anton7811 Oct 14, 2022
deed909
Merge remote-tracking branch 'origin/test-framework-extension' into p…
chrispsommers Oct 14, 2022
4481a6e
Submodule update and rename
anton7811 Oct 17, 2022
d43fa2e
PTF: add basic test infra and more test cases (#231)
vmytnykx Oct 17, 2022
30985ef
Merge remote-tracking branch 'origin/test-framework-extension' into p…
chrispsommers Oct 17, 2022
81a9ee8
Merge branch 'main' into test-framework-extension
anton7811 Oct 18, 2022
1ce5ef6
Merge remote-tracking branch 'plvision/test-framework-extension' into…
chrispsommers Oct 18, 2022
c6039f8
Merge remote-tracking branch 'upstream/sai-challenger-staging' into p…
chrispsommers Oct 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
path = dash-pipeline/SAI/SAI
url = https://github.com/reshmaintel/SAI.git
branch = dash-ptf-ci
[submodule "test/SAI-Challenger.OCP"]
path = test/SAI-Challenger.OCP
url = https://github.com/plvisiondevs/SAI-Challenger.OCP
branch = dash-testing
[submodule "test/SAI-Challenger"]
path = test/SAI-Challenger
url = https://github.com/opencomputeproject/SAI-Challenger
branch = multiple-api-support
[submodule "dash-pipeline/cgyang"]
path = dash-pipeline/cgyang
url = https://github.com/mgheorghe/cgyang
4 changes: 2 additions & 2 deletions dash-pipeline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ undeploy-ixiac:
# SAI-CHALLENGER TARGETS
###############################

SAI_CHALLENGER_PATH = $(PWD)/../test/SAI-Challenger.OCP
SAI_CHALLENGER_PATH = $(PWD)/../test/SAI-Challenger

CONTAINER_SAI_CHALLENGER_CLIENT_NAME = dash-saichallenger-client-$(USER)

Expand Down Expand Up @@ -553,7 +553,7 @@ docker-publish-saichallenger-client:

DOCKER_RUN_SAI_CHALLENGER_CLIENT=docker run \
-v $(SAI_CHALLENGER_PATH):/sai-challenger \
-v $(SAI_CHALLENGER_PATH)/../test-cases/test_vector_example/:/sai-challenger/dash_tests \
-v $(SAI_CHALLENGER_PATH)/../test-cases/scale/saic/:/sai-challenger/dash_tests \
-v $(PWD)/../:/dash \
--cap-add=NET_ADMIN \
--device /dev/net/tun:/dev/net/tun \
Expand Down
2 changes: 1 addition & 1 deletion dash-pipeline/dockerfiles/Dockerfile.saichallenger-client
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN python3 -m pip install -r /tests/requirements.txt && \
cd /SAI/test/ptf && \
python3 setup.py install && \
ln -s ${SAI_CHALLENGER_PATH} /usr/local/lib/python3.7/dist-packages/saichallenger && \
ln -s ${DASH_PATH}/test/test-cases/test_vector_example ${SAI_CHALLENGER_PATH}/test_vector_example && \
ln -s ${DASH_PATH}/test/test-cases/scale/saic ${SAI_CHALLENGER_PATH}/dash_tests && \
ln -s ${DASH_PATH}/dash-pipeline/cgyang/saigen /usr/local/lib/python3.7/dist-packages/saigen

CMD ["/usr/bin/supervisord"]
5 changes: 0 additions & 5 deletions dash-pipeline/tests/saithrift/ptf/vnet/test_saithrift_vnet.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
import pytest
import snappi
import scapy
import time

from sai_thrift.sai_headers import *
from sai_base_test import *
# TODO - when switch APIs implemented:
Expand Down
1 change: 1 addition & 0 deletions test/SAI-Challenger
Submodule SAI-Challenger added at e1f1d5
1 change: 0 additions & 1 deletion test/SAI-Challenger.OCP
Submodule SAI-Challenger.OCP deleted from a714c5
6 changes: 3 additions & 3 deletions test/docs/dash-test-sai-challenger.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# General changes
* Added [SAI-Challenger](https://github.com/PLVision/SAI-Challenger.OCP) submodule by path: `DASH/test/SAI-Challenger.OCP`.
* Added [SAI-Challenger](https://github.com/opencomputeproject/SAI-Challenger.OCP) submodule by path: `DASH/test/SAI-Challenger`.
* Added [saigen](https://github.com/mgheorghe/cgyang) submodule by path: `DASH/test/third-party/cgyang/saigen`.
* Added test cases for SAI-Challenger by path: `DASH/test/test-cases/test_vector_example`
* Added test cases for SAI-Challenger by path: `DASH/test/test-cases/scale/saic`

# New make targets:
**`docker-saichallenger-client`**: Build SAI-Challenger docker image and docker image based on SAI-Challenger client docker image with sai_thrift, saigen and DASH files.

**`run-saichallenger-client`**: Start Ixia-C and docker container `sc-client-thrift-run` from image built on `docker-saichallenger-client` target. SAI-Challenger tests (`DASH/test/SAI-Challenger.OCP/tests`) folder replaced by `DASH/test/test-cases/test_vector_example` folder inside of container. Bound mount volume with DASH folder.
**`run-saichallenger-client`**: Start Ixia-C and docker container `sc-client-thrift-run` from image built on `docker-saichallenger-client` target. To the original SAI-Challenger tests (`DASH/test/SAI-Challenger/tests`) folder a new folder `dash_tests` mounted from `DASH/test/test-cases/scale/saic` folder inside of container. Bound mount volume with DASH folder.

**`kill-saichallenger-client`**: Stop Ixia-C and `sc-client-thrift-run` container.

Expand Down
20 changes: 17 additions & 3 deletions test/test-cases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ This contains a hierarchical set of directories containing DASH test cases organ

# Contents

| Folder | Description |
| ---------------------------------------------- | --------------------------------------------------------- |
| [vnet2vnet](vnet2vnet/README.md) | DASH vnet2vnet Tests
| Folder | Description |
| --- | --- |
| functional | Tests to verify essential functionality using low-rate traffic (SAI PTF).
| scale | Tests with high-rate traffic and complex configuration to verify scaling real-world scenarios.

## functional

| Folder/File | Description |
| --- | --- |
| `saidashvnet.py` | VNET-to-VNET test cases


## scale

| Folder/File | Description |
| --- | --- |
| [vnet2vnet](vnet2vnet/README.md) | DASH vnet2vnet Tests
143 changes: 0 additions & 143 deletions test/test-cases/bmv2_model/test_hello_world.py

This file was deleted.

Loading