diff options
author | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-11-08 17:35:50 -0500 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-12-02 13:47:36 +0000 |
commit | 0c292cdcf82ca1d5a71a93c1e1f91cb061a2c6f2 (patch) | |
tree | 988973cdfaa43f705856d31157967fab9afb178d /core | |
parent | 0606ef6290ac1e41468f57b0ef2ff1d0571aee3e (diff) |
pkt_gen: add duration to all send functions
Allow a configurable duration for all send functions.
JIRA: VSPERF-125
Change-Id: I7c6f5d136a7d7100e3990f7fdc00121b07081a80
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/traffic_controller_rfc2544.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/traffic_controller_rfc2544.py b/core/traffic_controller_rfc2544.py index c3d9ab91..a6b3e7f9 100644 --- a/core/traffic_controller_rfc2544.py +++ b/core/traffic_controller_rfc2544.py @@ -104,7 +104,7 @@ class TrafficControllerRFC2544(ITrafficController, IResults): duration=self._duration) elif traffic['traffic_type'] == 'continuous': result = self._traffic_gen_class.send_cont_traffic( - traffic, time=int(get_test_param('rfc2544_duration', 30))) + traffic, duration=int(get_test_param('duration', 30))) else: result = self._traffic_gen_class.send_rfc2544_throughput( traffic, trials=self._trials, |