This updates the iperf client command to use the port specified similar to the server command.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Tests/Iperf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lnst/Tests/Iperf.py b/lnst/Tests/Iperf.py index bedeb518..483a9116 100644 --- a/lnst/Tests/Iperf.py +++ b/lnst/Tests/Iperf.py @@ -141,11 +141,12 @@ class IperfClient(IperfBase): test = ""
cmd = ("iperf3 -c {server} -b 0/1000 -J -t {duration}" - " {cpu} {test} {mss} {blksize} {parallel}" + " {cpu} {test} {mss} {blksize} {parallel} {port}" " {opts}".format( server=self.params.server, duration=self.params.duration, cpu=cpu, test=test, mss=mss, blksize=blksize, parallel=parallel, + port=port, opts=self.params.opts if "opts" in self.params else ""))
return cmd
On Thu, Jan 21, 2021 at 09:46:18AM +0100, Jan Tluka wrote:
This updates the iperf client command to use the port specified similar to the server command.
Signed-off-by: Jan Tluka jtluka@redhat.com
lnst/Tests/Iperf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lnst/Tests/Iperf.py b/lnst/Tests/Iperf.py index bedeb518..483a9116 100644 --- a/lnst/Tests/Iperf.py +++ b/lnst/Tests/Iperf.py @@ -141,11 +141,12 @@ class IperfClient(IperfBase): test = ""
cmd = ("iperf3 -c {server} -b 0/1000 -J -t {duration}"
" {cpu} {test} {mss} {blksize} {parallel}"
" {cpu} {test} {mss} {blksize} {parallel} {port}" " {opts}".format( server=self.params.server, duration=self.params.duration, cpu=cpu, test=test, mss=mss, blksize=blksize, parallel=parallel,
port=port, opts=self.params.opts if "opts" in self.params else "")) return cmd
-- 2.26.2 _______________________________________________ LNST-developers mailing list -- lnst-developers@lists.fedorahosted.org To unsubscribe send an email to lnst-developers-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/lnst-developers@lists.fedorahos...
pushed, thanks.
-Ondrej
lnst-developers@lists.fedorahosted.org