summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorMofassirArif <mofassir.arif@xflowresearch.com>2016-02-15 23:36:15 -0800
committerMofassirArif <mofassir.arif@xflowresearch.com>2016-02-15 23:36:15 -0800
commit4dbb3e08adaaa90a0483681dc51393de56359c85 (patch)
tree3abd61fd27847425d1012bacedf3f1869372bb76 /benchmarks
parentb5c0b2b8c5ea0ab734548813a859ac6065138437 (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>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/playbooks/dhrystone.yaml2
-rw-r--r--benchmarks/playbooks/dpi.yaml2
-rw-r--r--benchmarks/playbooks/fio.yaml2
-rw-r--r--benchmarks/playbooks/iperf.yaml6
-rw-r--r--benchmarks/playbooks/netperf.yaml3
-rw-r--r--benchmarks/playbooks/ramspeed.yaml2
-rw-r--r--benchmarks/playbooks/ssl.yaml2
-rw-r--r--benchmarks/playbooks/whetstone.yaml2
8 files changed, 12 insertions, 9 deletions
diff --git a/benchmarks/playbooks/dhrystone.yaml b/benchmarks/playbooks/dhrystone.yaml
index 224dbbf4..3ea04382 100644
--- a/benchmarks/playbooks/dhrystone.yaml
+++ b/benchmarks/playbooks/dhrystone.yaml
@@ -8,7 +8,7 @@
- hosts: "{{role}}"
become: yes
- become_user: "{{username}}"
+ remote_user: "{{username}}"
tasks:
- name: checking_home directory
shell: sudo echo $HOME
diff --git a/benchmarks/playbooks/dpi.yaml b/benchmarks/playbooks/dpi.yaml
index 1f7fee54..9c462a1f 100644
--- a/benchmarks/playbooks/dpi.yaml
+++ b/benchmarks/playbooks/dpi.yaml
@@ -8,7 +8,7 @@
- hosts: "{{role}}"
become: yes
- become_user: "{{username}}"
+ remote_user: "{{username}}"
tasks:
- name: echo
shell: echo $USER
diff --git a/benchmarks/playbooks/fio.yaml b/benchmarks/playbooks/fio.yaml
index 9532b166..e9028cd0 100644
--- a/benchmarks/playbooks/fio.yaml
+++ b/benchmarks/playbooks/fio.yaml
@@ -9,7 +9,7 @@
- hosts: "{{role}}"
become: yes
- become_user: "{{username}}"
+ remote_user: "{{username}}"
tasks:
- name: checking_home directory
shell: echo $HOME
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}}"
diff --git a/benchmarks/playbooks/netperf.yaml b/benchmarks/playbooks/netperf.yaml
index 12943bcc..30f4b574 100644
--- a/benchmarks/playbooks/netperf.yaml
+++ b/benchmarks/playbooks/netperf.yaml
@@ -12,6 +12,9 @@
- hosts: "{{role}}"
+ become: yes
+ remote_user: "{{username}}"
+
tasks:
- name: Rolename
set_fact:
diff --git a/benchmarks/playbooks/ramspeed.yaml b/benchmarks/playbooks/ramspeed.yaml
index e59ed10e..b515111c 100644
--- a/benchmarks/playbooks/ramspeed.yaml
+++ b/benchmarks/playbooks/ramspeed.yaml
@@ -9,7 +9,7 @@
- hosts: "{{role}}"
become: yes
- become_user: "{{username}}"
+ remote_user: "{{username}}"
tasks:
- name: checking_home directory
shell: echo $HOME
diff --git a/benchmarks/playbooks/ssl.yaml b/benchmarks/playbooks/ssl.yaml
index 4be9c1d8..507eb56f 100644
--- a/benchmarks/playbooks/ssl.yaml
+++ b/benchmarks/playbooks/ssl.yaml
@@ -7,7 +7,7 @@
file: path={{workingdir}}/{{Dest_dir}}/ssl/ssl_temp state=directory
- hosts: "{{role}}"
become: yes
- become_user: "{{username}}"
+ remote_user: "{{username}}"
tasks:
- name: checking_home directory
shell: sudo echo $HOME
diff --git a/benchmarks/playbooks/whetstone.yaml b/benchmarks/playbooks/whetstone.yaml
index 50c439d4..b76c3063 100644
--- a/benchmarks/playbooks/whetstone.yaml
+++ b/benchmarks/playbooks/whetstone.yaml
@@ -9,7 +9,7 @@
- hosts: "{{role}}"
become: yes
- become_user: "{{username}}"
+ remote_user: "{{username}}"
tasks:
- name: storing_home
shell: echo $HOME