17 T-Rex installation is managed via Ansible role.
19 TG Startup Configuration
20 ~~~~~~~~~~~~~~~~~~~~~~~~
24 $ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml
28 interfaces: ["${pci1}","${pci2}"]
30 - dest_mac: [${dest_mac1}]
31 src_mac: [${src_mac1}]
32 - dest_mac: [${dest_mac2}]
33 src_mac: [${src_mac2}]
39 threads: [1, 2, 3, 4, 5, 6, 7, 8]
42 TG Startup Command (Stateless Mode)
43 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47 $ sudo -E -S sh -c "cd '${trex_install_dir}/scripts/' && \
48 nohup ./t-rex-64 -i --prefix $(hostname) --hdrh --no-scapy-server \
49 --mbuf-factor 32 > /tmp/trex.log 2>&1 &" > /dev/null
51 Also, Python client is now starting traffic with:
55 core_mask=STLClient.CORE_MASK_PIN