aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2')
-rw-r--r--tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2 b/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
new file mode 100644
index 00000000..9a42bd97
--- /dev/null
+++ b/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
@@ -0,0 +1,8 @@
+- port_limit : 2
+ version : 2
+ interfaces : ["--vdev=net_memif0,socket={{data.if1}},role=master", "--vdev=net_memif1,socket={{data.if2}},role=master"] # list of the interfaces
+ port_info : # set eth mac addr
+ - dest_mac : "3c:fd:fe:b4:41:09" # port 0
+ src_mac : "3c:fd:fe:b4:41:08"
+ - dest_mac : "3c:fd:fe:b4:41:08" # port 1
+ src_mac : "3c:fd:fe:b4:41:09"