summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/extras/trex_cfg.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/extras/trex_cfg.yaml')
-rw-r--r--src/plugins/nat/extras/trex_cfg.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/plugins/nat/extras/trex_cfg.yaml b/src/plugins/nat/extras/trex_cfg.yaml
new file mode 100644
index 00000000000..6fd1ab007d8
--- /dev/null
+++ b/src/plugins/nat/extras/trex_cfg.yaml
@@ -0,0 +1,21 @@
+### Config file generated by dpdk_setup_ports.py ###
+
+- port_limit: 2
+ version: 2
+ interfaces: ['04:00.0', '04:00.1']
+ c: 4
+ port_info:
+ - ip: 172.16.1.2
+ default_gw: 172.16.1.1
+ - ip: 172.16.2.2
+ default_gw: 172.16.2.1
+
+ platform:
+ master_thread_id: 0
+ latency_thread_id: 8
+ dual_if:
+ - socket: 0
+ threads: [1,2,3,4,5,6,7]
+ - socket: 1
+ threads: [9,10,11,12,13,14,15]
+