diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-25 16:46:51 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-25 16:58:31 +0800 |
commit | d158e53addc56a9f92ecf0947eda4110c23da8ee (patch) | |
tree | ce0bbffe52abe0b2e0bc91f6cc9638ed1477e413 /resources/ansible_roles/nDPI/tasks/main.yml | |
parent | 2189e3bfdf1d250fa1201f89249745d4d6aab7f0 (diff) |
Organize common tasks under qtip-common role
Change-Id: I8592efdac7e6c2161eb7cb1b36d023697ebe7ad4
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/nDPI/tasks/main.yml')
-rw-r--r-- | resources/ansible_roles/nDPI/tasks/main.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/resources/ansible_roles/nDPI/tasks/main.yml b/resources/ansible_roles/nDPI/tasks/main.yml index c007a613..6dc7bf9d 100644 --- a/resources/ansible_roles/nDPI/tasks/main.yml +++ b/resources/ansible_roles/nDPI/tasks/main.yml @@ -49,10 +49,6 @@ chdir: "{{ workdir }}/nDPI-1.6/example/" register: ndpi_out -- name: generating log filename - set_fact: - logfile: "{{ qtip_results }}/nDPI.log" - - name: saving output to log copy: content: "{{ ndpi_out.stdout }}" @@ -66,12 +62,12 @@ # nDPI throughput: 1.46 M pps / 13.69 Gb/sec # TODO(yujunz) convert "M pps" and "K pps" to number - 'nDPI throughput:\s+?(?P<dpi_pps>\d+.\d+.*) \/ (?P<dpi_bps>\d+.\d+.*)$' - export_to: "{{ qtip_results }}/dpi_metrics.json" + dest: "{{ output }}/metrics.json" register: dpi_metrics delegate_to: localhost - name: create dpi report template: src: dpi-metrics.j2 - dest: "{{ qtip_results }}/dpi-metrics" + dest: "{{ output }}/dpi-metrics" delegate_to: localhost |