aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorMofassirArif <Mofassir_Arif@dellteam.com>2016-01-12 03:12:23 -0800
committerNauman Ahad <Nauman_Ahad@dell.com>2016-01-14 11:58:11 +0000
commit63fa71cc462c00f19bc1949f3e2b32f42721388b (patch)
treee7fa95e0b05564d5f3ee2e14a516e8410083a9d6 /benchmarks
parentc02ac0ea76af8011afaf7241e30999326efe8105 (diff)
error handling for the files being input to the framework.
iperf bug fix for the bare metal testing, renamed all the iperf config files. added more detail to the help. Change-Id: I16cfb1c05599cd0b803e735e6a75083e3e6733ec Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com> (cherry picked from commit 4c06a4ed3b3b22e3dbcddb33dda33ca773dfae11)
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/playbooks/iperf.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/benchmarks/playbooks/iperf.yaml b/benchmarks/playbooks/iperf.yaml
index 11d427f3..feef9369 100644
--- a/benchmarks/playbooks/iperf.yaml
+++ b/benchmarks/playbooks/iperf.yaml
@@ -59,11 +59,17 @@
poll: 0
when: rolename == "1-server"
- name: Running Iperf on Host
- shell: iperf3 --time {{duration}} -b {{bandwidthGbps}}G -c {{privateip1}} -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 "{{ip2}}" == ''
+ when: rolename == "2-host" and "{{privateip1}}" == "NONE"
+ - name: Running Iperf on Host
+ shell: iperf3 --time {{duration}} -b{{bandwidthGbps}}G -c {{privateip1}} -J -O10 >> ./qtip_result/iperf_raw.json
+ ignore_errors: yes
+ with_items:
+ - "{{ip1}}"
+ when: rolename == "2-host" and "{{privateip1}}" != "NONE"
- name: Fetching result transformation script
copy: src=./result_transform/iperf/iperf_transform.py dest={{home_dir.stdout}}/qtip_result
- name: Transforming result