diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-11-03 11:13:04 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-11-03 11:13:04 +0800 |
commit | f0f95b1d320a744b258a609f051d807f83dea09c (patch) | |
tree | be7843baca91e6d2b7f969af24cf01cdc3a2cf42 /benchmarks/perftest/iperf.yaml | |
parent | 268c946642da7cce5801be983a032ea3993a0850 (diff) |
Fix typo and bugs in perftest
Change-Id: I36dfb9c2d69cd071cfb8567c5c965144288b3407
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'benchmarks/perftest/iperf.yaml')
-rw-r--r-- | benchmarks/perftest/iperf.yaml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmarks/perftest/iperf.yaml b/benchmarks/perftest/iperf.yaml index 481a2e3e..46c8d6cf 100644 --- a/benchmarks/perftest/iperf.yaml +++ b/benchmarks/perftest/iperf.yaml @@ -40,16 +40,16 @@ register: home_dir - name: cleaning iperf directory - file: path=$HOME/iperf state=absent + file: path={{home_dir.stdout}}/iperf state=absent - name: cleaning previous results - file: path=$HOME/qtip_result state=absent + file: path={{home_dir.stdout}}/qtip_result state=absent - name: making Iperf temporary directory - file: path=$HOME/iperf state=directory + file: path={{home_dir.stdout}}/iperf state=directory - name: making results temporary directory - file: path=$HOME/qtip_result state=directory + file: path={{home_dir.stdout}}/qtip_result state=directory - include: ./common/sys_proxy_pbook.yaml @@ -104,7 +104,7 @@ when: rolename =="2-host" and "{{ip2}}" == '' - name: copy report formation script - copy: src={{workdingdir}}/utils/transform/final_report.py dest={{home_dir.stdout}}/qtip_result + copy: src={{workingdir}}/utils/transform/final_report.py dest={{home_dir.stdout}}/qtip_result when: rolename =="2-host" and "{{ip2}}" == '' - name: consolidating report @@ -115,7 +115,7 @@ shell: (cd $HOME/qtip_result/; find . -maxdepth 1 -name "*.json") | cut -d'/' -f2 register: files_to_copy when: rolename =="2-host" and "{{ip2}}" == '' - + - name: copy results fetch: src={{home_dir.stdout}}/qtip_result/{{item}} dest={{workingdir}}/{{Dest_dir}}/iperf/iperf_temp with_items: "{{files_to_copy.stdout_lines}}" @@ -132,10 +132,10 @@ when: rolename =="2-host" and "{{ip2}}" == '' - name: cleaning iperf directory - file: path=$HOME/iperf state=absent + file: path={{home_dir.stdout}}/iperf state=absent - name: cleaning previous results - file: path=$HOME/qtip_result state=absent + file: path={{home_dir.stdout}}/qtip_result state=absent - hosts: localhost connection: local |