From 2dcc4312a024c25b9f18f113507b1e4329360c88 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Sat, 28 Mar 2020 15:34:00 +0100 Subject: 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+ Change-Id: Iff28816f83670751e9e91de31ec59b1b0ad8fc0d --- example/defaults.conf | 3 +++ example/scenarios/cfg-iperf3-time@.conf | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 example/scenarios/cfg-iperf3-time@.conf (limited to 'example') diff --git a/example/defaults.conf b/example/defaults.conf index aa1e1dc..0b9136d 100644 --- a/example/defaults.conf +++ b/example/defaults.conf @@ -123,3 +123,6 @@ srsue: airplane_t_on_ms: -1 airplane_t_off_ms: -1 num_carriers: 1 + +iperf3cli: + time: 60 diff --git a/example/scenarios/cfg-iperf3-time@.conf b/example/scenarios/cfg-iperf3-time@.conf new file mode 100644 index 0000000..f46c59a --- /dev/null +++ b/example/scenarios/cfg-iperf3-time@.conf @@ -0,0 +1,3 @@ +config: + iperf3cli: + time: ${param1} -- cgit v1.2.3