From 8f9358032612f00731fa5e6d9578768de626c730 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Fri, 3 Mar 2017 09:25:45 +0800 Subject: Create draft of report template in console Change-Id: Ie6e626753c6562c361542c45e8504d177d624d2a Signed-off-by: Yujun Zhang --- qtip/reporter/templates/report.j2 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 qtip/reporter/templates/report.j2 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 }} -- cgit 1.2.3-korg