aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml')
-rw-r--r--tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml b/tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml
new file mode 100644
index 00000000..384817a4
--- /dev/null
+++ b/tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml
@@ -0,0 +1,10 @@
+- port_limit : 2
+ version : 2
+ c : 8
+ interfaces : ["--vdev=net_memif0,socket=/var/lib/cni/usrspcni/memif--net1.sock,role=slave,id=0", "--vdev=net_memif1,socket=/var/lib/cni/usrspcni/memif--net2.sock,role=slave,id=1"] # list of the interfaces
+ port_info : # set eh mac addr
+
+ - ip : 1.1.1.1
+ default_gw : 2.2.2.2
+ - ip : 2.2.2.2
+ default_gw : 1.1.1.1