aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-07 03:29:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-07 03:29:03 +0000
commitcf7f9996a66ddcb9379ac0ab12ec568dc08d00c3 (patch)
treea796145402062a301fd58627fd05f67991feb24b
parent391f422191bdb4f2a81664cf8c4a4382380da123 (diff)
parent8f9358032612f00731fa5e6d9578768de626c730 (diff)
Merge "Create draft of report template in console"
-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 }}