summaryrefslogtreecommitdiffstats
path: root/benchmarks/playbooks/pktgen.yaml
diff options
context:
space:
mode:
authorMofassirArif <Mofassir_Arif@dellteam.com>2016-01-21 06:42:23 -0800
committerMofassirArif <Mofassir_Arif@dellteam.com>2016-01-21 07:28:54 -0800
commit971a7c98515a9d83661f5e423f7e8390f35dca59 (patch)
treeee1d930fca39fa6875de6e18a2ae3dd9dba6f70f /benchmarks/playbooks/pktgen.yaml
parent688380c212d1fc7cceb969a4d150c7764fcdeb77 (diff)
bug fix: result collection bug fix for docker images
Change-Id: Ia4ea09b90c7a4f4e3699af456c6d66e85661cc0b Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
Diffstat (limited to 'benchmarks/playbooks/pktgen.yaml')
-rw-r--r--benchmarks/playbooks/pktgen.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/benchmarks/playbooks/pktgen.yaml b/benchmarks/playbooks/pktgen.yaml
index 04a0066e..466fb8e9 100644
--- a/benchmarks/playbooks/pktgen.yaml
+++ b/benchmarks/playbooks/pktgen.yaml
@@ -1,14 +1,14 @@
- hosts: 127.0.0.1
connection: local
- tasks:
+ tasks:
- name: getting directory
shell: echo $PWD
register: qtip_dir
- name: making pktgen directory
- file: path=../../{{Dest_dir}}/pktgen state=directory
+ file: path={{workingdir}}/{{Dest_dir}}/pktgen state=directory
- name: making temporary pktgen directory
- file: path=../../{{Dest_dir}}/pktgen/pktgen_temp state=directory
+ file: path={{workingdir}}/{{Dest_dir}}/pktgen/pktgen_temp state=directory
- hosts: "{{role}}"
@@ -17,7 +17,7 @@
set_fact:
rolename: "{{role}}"
when: role is defined
-
+
- name: IPTABLE Setup
shell: iptables -F
when: rolename == '1-server'
@@ -30,7 +30,7 @@
- hosts: "{{role}}"
tasks:
- name: Rolename
- set_fact:
+ set_fact:
rolename: "{{role}}"
when: role is defined
- name: Get server packetsize