changes in iperf cmd

This commit is contained in:
anjali
2021-03-20 15:18:14 +05:30
parent 8bddd36eb4
commit 944992b33a

View File

@@ -38,7 +38,7 @@ class GenCXProfile(LFCliBase):
self.cmd = "vrf_exec.bash %s speedtest-cli --json --share" % (sta_name)
elif self.type == "iperf3" and self.dest is not None:
self.cmd = "iperf3 --forceflush --format k --precision 4 -c %s -t 60 --tos 0 -b 1K --bind_dev %s -i 1 " \
"--pidfile /tmp/lf_helper_iperf3_test.pid" % (self.dest, sta_name)
"--pidfile /tmp/lf_helper_iperf3_%s.pid" % (self.dest, sta_name, gen_name)
elif self.type == "iperf3_serv" and self.dest is not None:
self.cmd = "iperf3 --forceflush --format k --precision 4 -s --bind_dev %s -i 1 " \
"--pidfile /tmp/lf_helper_iperf3_%s.pid" % (sta_name, gen_name)