aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorMofassirArif <Mofassir_Arif@dellteam.com>2016-01-18 03:21:00 -0800
committerNauman Ahad <nauman.ahad@xflowresearch.com>2016-02-01 22:24:35 +0000
commitfeaa1213a8c742b74ae3e8b17be509b553bc1256 (patch)
tree41b680a29e8b735f660c9e5c18e2b1c5ebcc4ad3 /benchmarks
parenta27f0433ee8e73ffff95dc59fb576b1ccc439958 (diff)
bug fix: make installer specific changes for baremetal. cater
for fuel Change-Id: Ie8c233873041238e3fc1aaaa653653552c7c7428 Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com> (cherry picked from commit 254ebb0efff73faa2285cf9f1ce70298a9787cb0)
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/playbooks/iperf.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/benchmarks/playbooks/iperf.yaml b/benchmarks/playbooks/iperf.yaml
index feef9369..fdf22c94 100644
--- a/benchmarks/playbooks/iperf.yaml
+++ b/benchmarks/playbooks/iperf.yaml
@@ -17,6 +17,9 @@
set_fact:
rolename: "{{role}}"
when: role is defined
+ - name: installertype
+ set_fact:
+ installertype: "{{installer}}"
- name: Get Hostname
shell: echo $HOSTNAME
register: hostID
@@ -43,10 +46,11 @@
shell: iptables -L INPUT --line-number | grep DROP | awk '{print $1}'
register: iptable_entry
ignore_errors: yes
+ when: installertype == 'fuel'
- name: Removing entry number
shell: iptables -D INPUT {{iptable_entry.stdout}}
ignore_errors: yes
- when: iptable_entry != ''
+ when: iptable_entry != '' and installertype == 'fuel'
- name: Installing IPERF when Ubuntu
shell: apt-get install iperf3 -y
when: ansible_os_family == "Debian" and rolename == '1-server'