From 944992b33ad68a98aec33975becb8b2f367769e0 Mon Sep 17 00:00:00 2001 From: anjali Date: Sat, 20 Mar 2021 15:18:14 +0530 Subject: [PATCH] changes in iperf cmd --- py-json/gen_cxprofile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-json/gen_cxprofile.py b/py-json/gen_cxprofile.py index c5107bac..1727c222 100644 --- a/py-json/gen_cxprofile.py +++ b/py-json/gen_cxprofile.py @@ -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)