This updates the iperf client command to use the port specified similar
to the server command.
Signed-off-by: Jan Tluka <jtluka(a)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
Show replies by date