summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-12-13 11:19:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-13 11:19:05 +0000
commit1dc96770c874ff9983c54502c56bf6137087a562 (patch)
treea9b4cefd2bff687975a501ab947cc8f652057b3b /conf
parent21b23522861e364daf150cd997c5d60851847ef2 (diff)
parentbdc5346c3d2170d857274262e1ecf6872d00249e (diff)
Merge "trex_learning: Add learning packet option to T-Rex testing"
Diffstat (limited to 'conf')
-rw-r--r--conf/03_traffic.conf5
-rw-r--r--conf/10_custom.conf5
2 files changed, 8 insertions, 2 deletions
diff --git a/conf/03_traffic.conf b/conf/03_traffic.conf
index a88e4bcc..3833a040 100644
--- a/conf/03_traffic.conf
+++ b/conf/03_traffic.conf
@@ -454,8 +454,11 @@ TRAFFICGEN_TREX_LATENCY_PPS = 1000
# Example 10 Gbps: TRAFFICGEN_TREXINE_SPEED_GBPS = '10'
# Today only 10 Gbps is supported
TRAFFICGEN_TREX_LINE_SPEED_GBPS = '10'
+# Enable of learning packets before sending test traffic
+TRAFFICGEN_TREX_LEARNING_MODE = True
+TRAFFICGEN_TREX_LEARNING_DURATION = 5
# FOR SR-IOV or multistream layer 2 tests to work with T-Rex enable Promiscuous mode
-TRAFFICGEN_TREX_PROMISCUOUS=False
+TRAFFICGEN_TREX_PROMISCUOUS = False
PATHS['trafficgen'] = {
'Trex': {
'type' : 'src',
diff --git a/conf/10_custom.conf b/conf/10_custom.conf
index 8020bb93..1f8448b4 100644
--- a/conf/10_custom.conf
+++ b/conf/10_custom.conf
@@ -136,8 +136,11 @@ TRAFFICGEN_TREX_LATENCY_PPS = 1000
# Example 10 Gbps: TRAFFICGEN_TREXINE_SPEED_GBPS = '10'
# Today only 10 Gbps is supported
TRAFFICGEN_TREX_LINE_SPEED_GBPS = '10'
+# Enable of learning packets before sending test traffic
+TRAFFICGEN_TREX_LEARNING_MODE = True
+TRAFFICGEN_TREX_LEARNING_DURATION = 5
# FOR SR-IOV or multistream layer 2 tests to work with T-Rex enable Promiscuous mode
-TRAFFICGEN_TREX_PROMISCUOUS=False
+TRAFFICGEN_TREX_PROMISCUOUS = False
# TREX Configuration and Connection Info-- END
####################################################