diff options
author | Nauman_Ahad <nauman_ahad@xflowresearch.com> | 2016-02-02 12:45:40 +0500 |
---|---|---|
committer | Nauman Ahad <nauman.ahad@xflowresearch.com> | 2016-02-02 10:44:00 +0000 |
commit | c3dfc4a790823e732e74ee90b99a6124fbc1d1b5 (patch) | |
tree | b9849d235d58802a1239b7caab39e63a568f8c92 /benchmarks | |
parent | 02d44874987d6c4bf6beffd5b69bac2522f457a5 (diff) |
Fixed issue with SSL and IPERF
Recent patches incorporating sudo led to an error
Change-Id: If0e3316fbebce774db43f5fdcb3ea5e322a28222
Signed-off-by: Nauman_Ahad <nauman_ahad@xflowresearch.com>
(cherry picked from commit c90360642e3032c73b7d17844eb6b019b618fc5b)
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/playbooks/iperf.yaml | 6 | ||||
-rw-r--r-- | benchmarks/playbooks/ssl.yaml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/benchmarks/playbooks/iperf.yaml b/benchmarks/playbooks/iperf.yaml index 773961fe..9bd0f1e2 100644 --- a/benchmarks/playbooks/iperf.yaml +++ b/benchmarks/playbooks/iperf.yaml @@ -75,20 +75,20 @@ when: ansible_os_family == "RedHat" - name: Running iperf on server - shell: sudo iperf3 -s + shell: iperf3 -s async: 400 poll: 0 when: rolename == "1-server" - name: Running Iperf on Host - shell: sudo iperf3 --time {{duration}} -b {{bandwidthGbps}}G -c {{ip1}} -J -O10 >> ./qtip_result/iperf_raw.json + shell: iperf3 --time {{duration}} -b {{bandwidthGbps}}G -c {{ip1}} -J -O10 >> ./qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" when: rolename == "2-host" and "{{privateip1}}" == "NONE" - name: Running Iperf on Host - shell: sudo iperf3 --time {{duration}} -b{{bandwidthGbps}}G -c {{privateip1}} -J -O10 >> ./qtip_result/iperf_raw.json + shell: iperf3 --time {{duration}} -b{{bandwidthGbps}}G -c {{privateip1}} -J -O10 >> ./qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" diff --git a/benchmarks/playbooks/ssl.yaml b/benchmarks/playbooks/ssl.yaml index 942fba50..4be9c1d8 100644 --- a/benchmarks/playbooks/ssl.yaml +++ b/benchmarks/playbooks/ssl.yaml @@ -62,7 +62,7 @@ copy: src=./result_transform/ssl/ssl_transform.py dest={{home_dir.stdout}}/qtip_result - name: Transforming result - shell: sudo cd $HOME/qtip_result && python ssl_transform.py + shell: cd $HOME/qtip_result && python ssl_transform.py - name: copy report formation script copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result |