summaryrefslogtreecommitdiffstats
path: root/core/traffic_controller_rfc2544.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/traffic_controller_rfc2544.py')
-rw-r--r--core/traffic_controller_rfc2544.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/traffic_controller_rfc2544.py b/core/traffic_controller_rfc2544.py
index a6b3e7f9..7117feeb 100644
--- a/core/traffic_controller_rfc2544.py
+++ b/core/traffic_controller_rfc2544.py
@@ -99,6 +99,8 @@ class TrafficControllerRFC2544(ITrafficController, IResults):
traffic['l2'] = {'framesize': packet_size}
if traffic['traffic_type'] == 'back2back':
+ self._duration = int(get_test_param('duration', 1))
+ self._trials = int(get_test_param('rfc2544_trials', 1))
result = self._traffic_gen_class.send_rfc2544_back2back(
traffic, trials=self._trials,
duration=self._duration)