aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-11-10 21:26:14 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2021-11-10 21:27:45 +0530
commit4fa105c5b4113a9ff4311569709ca99a8fbf5028 (patch)
tree481ffea4b406da29e3dbf0dd29c4bb67a378be81 /tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
parentab6ee21423c20c101a5885924f08a46a86ce5b00 (diff)
Minor Fixes.
This patch add multiple minor changes. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ieda8af0b8145c1ffde6bfdb7a7394776b42df988
Diffstat (limited to 'tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2')
-rw-r--r--tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2 b/tools/docker/test-containers/trafficgen-pods/trex/trex_cfg.yaml.j2
new file mode 100644
index 00000000..9a42bd97
--- /dev/null
+++ b/tools/docker/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"