diff options
author | MofassirArif <mofassir.arif@xflowresearch.com> | 2016-02-15 23:36:15 -0800 |
---|---|---|
committer | Nauman Ahad <nauman.ahad@xflowresearch.com> | 2016-02-22 07:34:50 +0000 |
commit | 4f239b0cf87c486fb75303b585eaaec73bc60464 (patch) | |
tree | 3abd61fd27847425d1012bacedf3f1869372bb76 /benchmarks/playbooks/iperf.yaml | |
parent | 65526c397302458ce285f78a36bed2cfc7da2f80 (diff) |
qtip: add user name in case of apex and make the changes in ansible
playbooks to cater for apex. Also reduce the verbosity for runnning
ansbile plays.
Change-Id: Id3a6da7bea3ede99f8a23e5fd0a2801987f9565b
Signed-off-by: MofassirArif <mofassir.arif@xflowresearch.com>
(cherry picked from commit 4dbb3e08adaaa90a0483681dc51393de56359c85)
Diffstat (limited to 'benchmarks/playbooks/iperf.yaml')
-rw-r--r-- | benchmarks/playbooks/iperf.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/playbooks/iperf.yaml b/benchmarks/playbooks/iperf.yaml index 9bd0f1e2..4199b621 100644 --- a/benchmarks/playbooks/iperf.yaml +++ b/benchmarks/playbooks/iperf.yaml @@ -13,7 +13,7 @@ - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: Rolename set_fact: @@ -81,14 +81,14 @@ when: rolename == "1-server" - name: Running Iperf on Host - shell: iperf3 --time {{duration}} -b {{bandwidthGbps}}G -c {{ip1}} -J -O10 >> ./qtip_result/iperf_raw.json + shell: iperf3 --time {{duration}} -b 0 G -c {{ip1}} -J -O10 >> {{home_dir.stdout}}/qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" 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 + shell: iperf3 --time {{duration}} -b 0 G -c {{privateip1}} -J -O10 >> {{home_dir.stdout}}/qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" |