summaryrefslogtreecommitdiffstats
path: root/qtip
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-03 09:25:45 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-03 09:25:45 +0800
commit8f9358032612f00731fa5e6d9578768de626c730 (patch)
tree54c532b9612adbd3baad8e1a45ffbce49f07100f /qtip
parent7f5d4f59f12920bc7ab226d7b20048e28a99575f (diff)
Create draft of report template in console
Change-Id: Ie6e626753c6562c361542c45e8504d177d624d2a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip')
-rw-r--r--qtip/reporter/templates/report.j222
1 files changed, 22 insertions, 0 deletions
diff --git a/qtip/reporter/templates/report.j2 b/qtip/reporter/templates/report.j2
new file mode 100644
index 00000000..766e6dde
--- /dev/null
+++ b/qtip/reporter/templates/report.j2
@@ -0,0 +1,22 @@
+{{ title }}
+
+Plan: {{ plan.name }}
+
+{{ qpi.name }}: {{ qpi.score }}
+Sections:
+{% for section in sections %}
+ {{ section.name }}: {{ section.score }}
+
+ Formula: {{ section.formula }}
+ Metrics:
+ {% for metric in section.metrics %}
+ {{ metric.name }}: {{ metric.score }}
+ Formula: {{ metric.formula }}
+ Workloads:
+ {% for workload in workloads %}
+ {{ workload.name }}: {{ workload.score }}
+ {% endfor %}
+ {% endfor %}
+{% endfor %}
+
+{{ signature }}