aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-17 22:05:56 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-17 22:26:13 +0800
commit6bec7f3a38497222217cf899965bc6d4d5c0c545 (patch)
treee7b756c07ee56aed047580d020e8af55eaf4a4f4 /resources
parentbbcbb7f54096c05d83c982d6784646882e2c276a (diff)
Aggregate qpi score from all nodes
Change-Id: Ib711a493a949b013ffe22519861f144dc47d0334 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources')
-rw-r--r--resources/template/qpi-report.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/template/qpi-report.j2 b/resources/template/qpi-report.j2
index afe9bfb8..6ca73634 100644
--- a/resources/template/qpi-report.j2
+++ b/resources/template/qpi-report.j2
@@ -1,4 +1,7 @@
Sample QPI Report
+
+Pod: {{ pod_result.score }}
+
{% for host in groups['compute'] %}
{% set qpi_result = hostvars[host].qpi_result %}