summaryrefslogtreecommitdiffstats
path: root/benchmarks
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 12:47:59 +0500
commitc90360642e3032c73b7d17844eb6b019b618fc5b (patch)
treeb9849d235d58802a1239b7caab39e63a568f8c92 /benchmarks
parentcbdddad944abba7be2eb848b16b2abc1ce791f50 (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>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/playbooks/iperf.yaml6
-rw-r--r--benchmarks/playbooks/ssl.yaml2
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