diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-24 21:39:59 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-24 22:47:38 +0800 |
commit | c004fa1abd8069243b6cd4d9f9af66db2395351f (patch) | |
tree | 2ccad355906aba8181b9f0a829e340b497e91097 /resources/ansible_roles/nDPI/tasks | |
parent | 7aaa7b0bf4ae4f29134b0298351c1aa1c189c253 (diff) |
Export collected metrics to json as inputs for calculating
Change-Id: Id2dce1e750f646aeb972221229556fcd647a3637
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/nDPI/tasks')
-rw-r--r-- | resources/ansible_roles/nDPI/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/ansible_roles/nDPI/tasks/main.yml b/resources/ansible_roles/nDPI/tasks/main.yml index 230ee2e1..c007a613 100644 --- a/resources/ansible_roles/nDPI/tasks/main.yml +++ b/resources/ansible_roles/nDPI/tasks/main.yml @@ -66,6 +66,7 @@ # 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" register: dpi_metrics delegate_to: localhost |