diff options
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.yaml | 10 |
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 |