Ixia-c Traffic Engine and FRR with Containerlab
In this setup, we demonstrate how to deploy Ixia-c Traffic Engine nodes in Containerlab. This setup has an FRR container as a Device Under Test (DUT). Finally, we use
otgen CLI tool to run the test and report statistics.
Layer 3 topology and generated traffic flows
Follow this sections for a quick version of how to run the lab using
make. This is how CI pipeline in GitHub Actions runs it.
Clone this repository
To run all the steps below at once, execute:
Otherwise, follow step-by-step instructions below.
- Linux host or VM with sudo permissions and Docker support
git- how to install depends on your Linux distro.
/usr/local/binis in your
$PATHvariable (by default this is not the case on CentOS 7)
Clone the repository
Clone this repository to the Linux host where you want to run the lab. Do this only once.
Navigate to the lab folder
Deploy a lab
Read MAC addresses assigned to the nodes
TE1SMAC=`cat clab-ixctedut/topology-data.json | jq -r '.links["a"].mac'` TE1DMAC=`cat clab-ixctedut/topology-data.json | jq -r '.links["z"].mac'` TE2SMAC=`cat clab-ixctedut/topology-data.json | jq -r '.links["a"].mac'` TE2DMAC=`cat clab-ixctedut/topology-data.json | jq -r '.links["z"].mac'`
Run traffic defined in otg.yml with
otgentool, taking care to replace stub MAC addresses with current values