Project

General

Profile

Actions

Bug #4460

closed

Add modifier to control the duration of an iperf client

Added by srs_andre about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/19/2020
Due date:
% Done:

100%

Spec Reference:

Description

We want to use the iperf_dl.py test but let it execute for different durations without rewriting the test. In the discussion and by quickly looking at the iperf client implemenation it seems that a possible solution could be to just pass None as duration and let in this case the iperf client pull the duration from an class member which we could modifier when calling the suite.

Actions #1

Updated by pespin about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Done here:

commit 2dcc4312a024c25b9f18f113507b1e4329360c88
Author: Andre Puschmann <andre@softwareradiosystems.com>
Date:   Sat Mar 28 15:34:00 2020 +0100

    iperf3: add config to adjust the duration of the iperf run

    the time is passed as a string param and is then converted
    into seconds when literals "h" or "m" are found.
    So it would accept 2m and would convert it to 120s, for example.

    Example:

    +cfg-iperf3-time@15+

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)