summaryrefslogtreecommitdiffstats
path: root/resources/template/qpi-report.j2
blob: 6ca73634fbc508f866385a65599c68e44de19eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sample QPI Report

Pod: {{ pod_result.score }}

{% for host in groups['compute'] %}
{% set qpi_result = hostvars[host].qpi_result %}

Host:   {{ hostvars[host].ansible_hostname }}
QPI:    {{ qpi_result.score }}
Spec:   {{ qpi_result.spec.name }}

{% for section in qpi_result.section_results %}
- {{ section.name }}: {{ section.result.score }}
{% for metric in section.result.metric_results %}
  - {{ metric.name }}: {{ metric.result.score }}
{% for workload in metric.result.workload_results %}
    - {{ workload.name }}: {{ workload.score }}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}