trex
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
# build TRex from source mkdir -p $HOME/src git clone https://github.com/cisco-system-traffic-generator/trex-core $HOME/src/trex-core ./build-trex.sh ## to get succeeded, some missing package should be installed (Ubuntu 18.04) sudo apt install libz-dev -y # libz.h #sudo apt install python2.7 # cd doc/ && ./b configure (asciidoc) #sudo apt install python-lxml # test from TRex binary release mkdir -p trex (cd trex && wget https://trex-tgn.cisco.com/trex/release/v2.56.tar.gz) ## /etc/trex_cfg.yaml, topology: enp0s8 <-> enp0s9, monitoring: enp0s10 ## ./run_regression --python3 if you don't have proper python2 (cd trex/v2.46 && ./run_regression --python3 --func) ## to get succeeded valgrind should be installed. sudo apt install valgrind -y ## install missing python3 packages (Ubuntu 18.04) sudo apt install python3-distutils -y # TRex EMU git clone https://github.com/cisco-system-traffic-generator/trex-emu $HOME/src/trex-emu ## build TRex EMU from source sudo apt install golang-go -y # TRex binary docker sudo apt-get install docker.io -y sudo docker pull trexcisco/trex sudo run --rm -it --privileged --cap-add=ALL trexcisco/trex sudo docker ps sudo docker exec -it <CONTAINER_ID> bash