The minimum memory and cpu requirements for a basic use-case are as follows:
keng-controller
: Each instance requires at least 10m CPU core and 25Mi RAM.ixia-c-traffic-engine
: Each instance requires 200m CPU core per test port, plus one shared CPU core and 60Mi RAM. Generic formula for CPU cores is1 + 2 * number_of_ports
.ixia-c-protocol-engine
: Each instance requires 200m CPU core and 350Mi RAM per port.
For more granularity on resource requirements for advanced deployments, see Resource requirements.
- x86_64 Linux Distribution (Centos 7+ or Ubuntu 18+ have been tested)
- Docker 19+ (as distributed by https://docs.docker.com/)
- For test-environment,
- Python 3.6+ (with
pip
) or - Go 1.17+
- Python 3.6+ (with
- Docker Engine (Community Edition)
-
Ensure that you have
python
andpip
installed on your system.You may have to use
python3
orabsolute path to python executable
depending on the Python Installation on your system.python -m pip --help
If you do not see a help message, see pip installation guide, .
-
It is recommended that you use a python virtual environment for development.
python -m pip install --upgrade virtualenv # create virtual environment inside `env/` and activate it. python -m virtualenv env # on linux source env/bin/activate # on windows env\Scripts\activate on Windows
-
If you do not want to activate the virtual env, use
env/bin/python
(orenv\scripts\python
on Windows) instead ofpython
.
In order for ixia-c-traffic-engine
to function, several settings need to be tuned on the host system. They are as follows:
- Ensure that all the existing network interfaces are
Up
and havePromiscuous
mode enabled.
-
The following example illustrates a sample configured interface
eth1
# check interface details ip addr # configure as required ip link set eth1 up ip link set eth1 promisc on
-
(Optional) You need to create the
veth
interface pairs, to deploy theixia-c-traffic-engine
against them.# create veth pair veth1 and veth2 ip link add veth1 type veth peer name veth2 ip link set veth1 up ip link set veth2 up