diff options
author | MofassirArif <Mofassir_Arif@dellteam.com> | 2016-01-12 03:12:23 -0800 |
---|---|---|
committer | MofassirArif <Mofassir_Arif@dellteam.com> | 2016-01-12 03:15:02 -0800 |
commit | 4c06a4ed3b3b22e3dbcddb33dda33ca773dfae11 (patch) | |
tree | e7fa95e0b05564d5f3ee2e14a516e8410083a9d6 /benchmarks | |
parent | 90eb79018b459c1aa6606168f1ee592da535643c (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>
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/playbooks/iperf.yaml | 10 |
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 |