diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-03-03 09:25:45 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-03-03 09:25:45 +0800 |
commit | 8f9358032612f00731fa5e6d9578768de626c730 (patch) | |
tree | 54c532b9612adbd3baad8e1a45ffbce49f07100f | |
parent | 7f5d4f59f12920bc7ab226d7b20048e28a99575f (diff) |
Create draft of report template in console
Change-Id: Ie6e626753c6562c361542c45e8504d177d624d2a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r-- | qtip/reporter/templates/report.j2 | 22 |
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 }} |