summaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/qtip/tasks/calculate.yml
blob: 9444a0e2707617c19e46e561f2588a285bc7a967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##############################################################################
# Copyright (c) 2017 ZTE Corporation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

---

- name: calculate compute score
  calculate:
    metrics:
      ssl_rsa: "{{ qtip_results }}/ssl/rsa-metrics.json"
      ssl_aes: "{{ qtip_results }}/ssl/aes-metrics.json"
      dpi_throughput: "{{ qtip_results }}/dpi/metrics.json"
      intmem: "{{ qtip_results }}/memory/integer-metrics.json"
      floatmem: "{{ qtip_results }}/memory/float-metrics.json"
      integer: "{{ qtip_results }}/arithmetic/metrics.json"
      floating: "{{ qtip_results }}/arithmetic/metrics.json"
    sysinfo: "{{ qtip_results }}/sysinfo/condition.json"
    spec:   "{{ qtip_resources }}/QPI/compute.yaml"
    baseline: "{{ qtip_resources }}/baselines/compute.json"
    dest: "{{ qtip_results }}/compute.json"
  delegate_to: localhost