aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml
diff options
context:
space:
mode:
authorSridhar Rao <sridhar.rao@spirent.com>2021-11-05 05:57:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2021-11-05 05:57:12 +0000
commit8c3b7592ac77d025ed92b163e7258298e869df28 (patch)
treece3fba916646369799c7a3bb29fa9372cff2be81 /tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml
parent19fa6a4b5cd6844be4369e90a31f63700477a200 (diff)
parent773934de71fafcd332879838bf519ef3d90271e1 (diff)
Merge "K8S: PROX and TREX containers."
Diffstat (limited to 'tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml')
-rw-r--r--tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml b/tools/k8s/test-containers/trafficgen-pods/trex/trex_cfg.yaml
new file mode 100644
index 00000000..384817a4
--- /dev/null
+++ b/tools/k8s/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