diff --git a/pscheduler-tool-iperf2/iperf2/can-run b/pscheduler-tool-iperf2/iperf2/can-run index 07076fa27..490ad54f3 100755 --- a/pscheduler-tool-iperf2/iperf2/can-run +++ b/pscheduler-tool-iperf2/iperf2/can-run @@ -53,7 +53,7 @@ supported_options = ["schema", "source", "source-node", "dest", "dest-node", "ip-version", "duration", "interval", "link-rtt", - "parallel", "window-size", "bandwidth", + "parallel", "window-size", "bandwidth", "fq-rate", "buffer-length", "local-address", "congestion", "udp", "single-ended", "single-ended-port", "loopback" ] diff --git a/pscheduler-tool-iperf2/iperf2/run b/pscheduler-tool-iperf2/iperf2/run index 86b096af8..57a2ec891 100755 --- a/pscheduler-tool-iperf2/iperf2/run +++ b/pscheduler-tool-iperf2/iperf2/run @@ -173,6 +173,10 @@ def run_client(): iperf2_args.append('-b') iperf2_args.append(test_spec['bandwidth']) + if 'fq-rate' in test_spec and test_spec['fq-rate'] is not None: + iperf2_args.append('--fq-rate') + iperf2_args.append(test_spec['fq-rate']) + if 'buffer-length' in test_spec and test_spec['buffer-length'] != None: iperf2_args.append('-l') iperf2_args.append(test_spec['buffer-length'])