Skip to content

Commit

Permalink
Upgrade to ixia-c 0.0.1-3383 (sonic-net#226)
Browse files Browse the repository at this point in the history
* Upgrade to ixia-c 0.0.1-3383 which fixes hairpin mode and adds option to disable IPv6 at launch.
Remove ./disable_veth_ipv6.sh from makefile after deploy-ixiac sincve it's not needed. (Keep it as prerequisite to running test-cases since we still need to prevent linux ICMP6 packets during tests.)

* Update ixia-c traffic engine to match controller.

* Update snappi version to match ixia-c-components.

Co-authored-by: Chris Sommers <chrispsommers@gmail.com>
  • Loading branch information
chrispsommers and chrispsommers authored Sep 17, 2022
1 parent 543df5c commit d003f4e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion dash-pipeline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ install-python-modules:

deploy-ixiac:
cd ../test/third-party/traffic_gen && ./deploy_ixiac.sh
./disable_veth_ipv6.sh

undeploy-ixiac:
cd ../test/third-party/traffic_gen && ./undeploy_ixiac.sh
Expand Down
2 changes: 1 addition & 1 deletion dash-pipeline/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
snappi==0.7.38
snappi==0.9.4
pytest==6.0.1
2 changes: 1 addition & 1 deletion test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
snappi==0.7.38
snappi==0.9.4
pytest==6.0.1
7 changes: 4 additions & 3 deletions test/third-party/traffic_gen/deployment/.env
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
DOCKER_REGISTRY=ghcr.io/open-traffic-generator
CONTROLLER_VERSION=0.0.1-2934
TRAFFIC_ENGINE_VERSION=1.4.1.26
CONTROLLER_VERSION=0.0.1-3383
TRAFFIC_ENGINE_VERSION=1.6.0.17
IFC1=veth1
IFC2=veth3
TCP_PORT_IFC1=5555
TCP_PORT_IFC2=5556
CPU_CORES_IFC1="0"
CPU_CORES_IFC2="1"
CPU_CORES_IFC2="1"
OPT_ENABLE_IPv6="No"
2 changes: 2 additions & 0 deletions test/third-party/traffic_gen/deployment/ixia-c-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
- OPT_LISTEN_PORT=${TCP_PORT_IFC1:-5555}
- ARG_IFACE_LIST=virtual@af_packet,${IFC1}
- OPT_NO_HUGEPAGES=Yes
- OPT_ENABLE_IPv6=${OPT_ENABLE_IPv6}
traffic_engine_2:
image: ${DOCKER_REGISTRY}/ixia-c-traffic-engine:${TRAFFIC_ENGINE_VERSION:-latest}
container_name: ixia-c-traffic-engine2-${USER}
Expand All @@ -27,3 +28,4 @@ services:
- OPT_LISTEN_PORT=${TCP_PORT_IFC2:-5556}
- ARG_IFACE_LIST=virtual@af_packet,${IFC2}
- OPT_NO_HUGEPAGES=Yes
- OPT_ENABLE_IPv6=${OPT_ENABLE_IPv6}

0 comments on commit d003f4e

Please sign in to comment.