aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-11-02 14:18:18 +0530
committerAl Morton <acm@research.att.com>2021-11-03 18:10:42 +0000
commit773934de71fafcd332879838bf519ef3d90271e1 (patch)
treef9d442007c643f1c9e4efb6a0c34815c932f9359 /tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
parent0ab7ff90c3fec546275fd35ffc13cb787c03721e (diff)
K8S: PROX and TREX containers.
This patch adds source files to build prox and trex containers. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I9a26672bc4869e663e6afc64741dbb9ededbb832
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"