summaryrefslogtreecommitdiffstats
path: root/benchmarks/playbooks/iperf.yaml
diff options
context:
space:
mode:
authorNauman_Ahad <nauman_ahad@xflowresearch.com>2016-02-02 12:45:40 +0500
committerNauman Ahad <nauman.ahad@xflowresearch.com>2016-02-02 10:44:00 +0000
commitc3dfc4a790823e732e74ee90b99a6124fbc1d1b5 (patch)
treeb9849d235d58802a1239b7caab39e63a568f8c92 /benchmarks/playbooks/iperf.yaml
parent02d44874987d6c4bf6beffd5b69bac2522f457a5 (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/playbooks/iperf.yaml')
-rw-r--r--benchmarks/playbooks/iperf.yaml6
1 files changed, 3 insertions, 3 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}}"