import sys
sys.path.insert(
- 0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/"
+ 0, u"/opt/trex-core-3.00/scripts/automation/trex_control_plane/interactive/"
)
from trex.astf.api import ASTFClient, TRexError
import time
sys.path.insert(
- 0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/"
+ 0, u"/opt/trex-core-3.00/scripts/automation/trex_control_plane/interactive/"
)
from trex.astf.api import ASTFClient, ASTFProfile, TRexError
from collections import OrderedDict # Needed to parse xstats representation.
sys.path.insert(
- 0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/"
+ 0, u"/opt/trex-core-3.00/scripts/automation/trex_control_plane/interactive/"
)
from trex.astf.api import ASTFClient
import sys
sys.path.insert(
- 0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/"
+ 0, u"/opt/trex-core-3.00/scripts/automation/trex_control_plane/interactive/"
)
from trex.stl.api import STLClient, STLError
import time
sys.path.insert(
- 0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/"
+ 0, u"/opt/trex-core-3.00/scripts/automation/trex_control_plane/interactive/"
)
from trex.stl.api import STLClient, STLProfile, STLError
from collections import OrderedDict # Needed to parse xstats representation.
sys.path.insert(
- 0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/"
+ 0, u"/opt/trex-core-3.00/scripts/automation/trex_control_plane/interactive/"
)
from trex.stl.api import STLClient
self.framesize = kwargs[u"framesize"]
self.n_data_frames = kwargs[u"n_data_frames"]
self._pcap_dir = kwargs.get(
- u"pcap_dir", u"/opt/trex-core-2.97/scripts/avl"
+ u"pcap_dir", u"/opt/trex-core-3.00/scripts/avl"
)
return self.create_profile()
intel_extract_dir: "/opt"
intel_700_compatibility_matrix:
- dpdk21.02:
- # https://doc.dpdk.org/guides/rel_notes/release_21_02.html
- i40e: "2.14.13"
- iavf: "4.1.1"
- nvm: "8.00"
+ dpdk22.03:
+ # https://doc.dpdk.org/guides/rel_notes/release_22_03.html
+ i40e: "2.17.15"
+ iavf: "4.5.3"
+ nvm: "8.30"
dpdk22.07:
# https://doc.dpdk.org/guides/rel_notes/release_22_07.html
i40e: "2.19.3"
iavf: "4.5.3"
- nvm: "8.30"
+ nvm: "8.70"
intel_800_compatibility_matrix:
- dpdk21.02:
- # https://doc.dpdk.org/guides/rel_notes/release_21_02.html
- ice: "1.4.11"
- ddp: "1.3.28.0"
- iavf: "4.1.1"
- nvm: "2.40"
+ dpdk22.03:
+ # https://doc.dpdk.org/guides/rel_notes/release_22_03.html
+ ice: "1.8.3"
+ ddp: "1.3.35.0"
+ iavf: "4.5.3"
+ nvm: "3.20"
dpdk22.07:
# https://doc.dpdk.org/guides/rel_notes/release_22_07.html
ice: "1.9.7"
ddp: "1.3.37.0"
iavf: "4.5.3"
- nvm: "3.20"
+ nvm: "4.00"
intel_i40e_url:
- "2.14.13": "i40e%20stable/2.14.13/i40e-2.14.13.tar.gz/download"
+ "2.17.15": "i40e%20stable/2.17.15/i40e-2.17.15.tar.gz/download"
"2.19.3": "i40e%20stable/2.19.3/i40e-2.19.3.tar.gz/download"
intel_ice_url:
- "1.4.11": "ice%20stable/1.4.11/ice-1.4.11.tar.gz/download"
+ "1.8.3": "ice%20stable/1.8.3/ice-1.8.3.tar.gz/download"
"1.9.7": "ice%20stable/1.9.7/ice-1.9.7.tar.gz/download"
intel_iavf_url:
- "4.1.1": "iavf%20stable/4.1.1/iavf-4.1.1.tar.gz/download"
"4.5.3": "iavf%20stable/4.5.3/iavf-4.5.3.tar.gz/download"
intel_ddp_url:
- "1.3.28.0": "30467/eng/800%20series%20comms%20binary%20package%201.3.28.0.zip"
+ "1.3.35.0": "727568/800%20Series%20DDP%20Comms%20Package%201.3.35.0.zip"
"1.3.37.0": "738733/800%20Series%20DDP%20Comms%20Package%201.3.37.0.zip"
---
# file: roles/trex/defaults/main.yaml
-packages: "{{ packages_base + packages_by_distro[ansible_distribution|lower][ansible_distribution_release] + packages_by_arch[ansible_machine] }}"
+packages: "{{ packages_base + packages_by_distro[ansible_distribution|lower] + packages_by_arch[ansible_machine] }}"
packages_base:
- []
packages_by_distro:
ubuntu:
- jammy:
- - "build-essential"
- - "gcc-9"
- - "g++-9"
- - "libmnl-dev"
- - "libnuma-dev"
- - "libpcap-dev"
- - "librdmacm-dev"
- - "librdmacm1"
- - "libssl-dev"
- - "pciutils"
- - "python3-pip"
- - "zlib1g-dev"
+ - "build-essential"
+ - "gcc-9"
+ - "g++-9"
+ - "libmnl-dev"
+ - "libnuma-dev"
+ - "libpcap-dev"
+ - "librdmacm-dev"
+ - "librdmacm1"
+ - "libssl-dev"
+ - "pciutils"
+ - "python3-pip"
+ - "zlib1g-dev"
packages_by_arch:
aarch64:
trex_target_dir: "/opt"
trex_url: "https://github.com/cisco-system-traffic-generator/trex-core/archive/"
trex_version:
- - "2.97"
+ - "3.00"
- name: Reset gcc-9
ansible.builtin.command: "update-alternatives --remove-all gcc"
+ ignore_errors: true
when: trex_extracted.changed
- name: Reset g++-9
ansible.builtin.command: "update-alternatives --remove-all g++"
+ ignore_errors: true
when: trex_extracted.changed
- name: Switch to gcc-9
DOCKER_SUT_IMAGE_UBUNTU_ARM = u"csit_sut-ubuntu2204:local"
# TRex install directory
- TREX_INSTALL_DIR = u"/opt/trex-core-2.97"
+ TREX_INSTALL_DIR = u"/opt/trex-core-3.00"
# TRex pcap files directory
TREX_PCAP_DIR = f"{TREX_INSTALL_DIR}/scripts/avl"
dpdkrelease='22.07',
dpdk_prev_release='22.03',
sdpdkrelease='22.07',
- trex_version='v2.97',
+ trex_version='v3.00',
vpp_release_commit_id='0d352a97c5e3ad1f5f6eab18a978a14b0b9e06a8')
# The language for content autogenerated by Sphinx. Refer to documentation