aboutsummaryrefslogtreecommitdiffstats
path: root/resources/template
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-20 22:51:59 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-21 13:43:50 +0800
commit6144eac326d14e26bbb849abea51c4cf7f3881b6 (patch)
tree15ab6fcd3eadfb6d9ae7d089b237a2f0416a9235 /resources/template
parent7273ca98a91399e188af15e192be93724977fe08 (diff)
Group test results and report under node
Change-Id: I66286787d06c5012c6dcf516cffb9f6fd76522c5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/template')
-rw-r--r--resources/template/dpi-metrics.j27
-rw-r--r--resources/template/mem-metrics.j224
-rw-r--r--resources/template/system-info.j216
3 files changed, 0 insertions, 47 deletions
diff --git a/resources/template/dpi-metrics.j2 b/resources/template/dpi-metrics.j2
deleted file mode 100644
index 4de200b6..00000000
--- a/resources/template/dpi-metrics.j2
+++ /dev/null
@@ -1,7 +0,0 @@
-nDPI throughput
-===============
-
-{% for host in groups['compute'] %}
-{% set dpi_metrics=hostvars[host].dpi_metrics %}
-{{ (hostvars[host].ansible_hostname, "{} / {}".format(dpi_metrics.dpi_pps[0], dpi_metrics.dpi_bps[0]))|justify }}
-{% endfor %}
diff --git a/resources/template/mem-metrics.j2 b/resources/template/mem-metrics.j2
deleted file mode 100644
index 6b1b6bd4..00000000
--- a/resources/template/mem-metrics.j2
+++ /dev/null
@@ -1,24 +0,0 @@
-Memory
-======
-
-{% for host in groups['compute'] %}
-{{ hostvars[host].ansible_hostname }}
------------------------------
-
-INTEGER
-^^^^^^^
-{% set metrics=hostvars[host].intmem_metrics %}
-{{ ('Copy', metrics.integer_copy[0])|justify }}
-{{ ('Scale', metrics.integer_scale[0])|justify }}
-{{ ('Add', metrics.integer_add[0])|justify }}
-{{ ('Triad', metrics.integer_triad[0])|justify }}
-
-FL-POINT
-^^^^^^^^
-{% set metrics=hostvars[host].floatmem_metrics %}
-{{ ('Copy', metrics.float_copy[0])|justify }}
-{{ ('Scale', metrics.float_scale[0])|justify }}
-{{ ('Add', metrics.float_add[0])|justify }}
-{{ ('Triad', metrics.float_triad[0])|justify }}
-
-{% endfor %}
diff --git a/resources/template/system-info.j2 b/resources/template/system-info.j2
deleted file mode 100644
index 305a2af2..00000000
--- a/resources/template/system-info.j2
+++ /dev/null
@@ -1,16 +0,0 @@
-System Information from inxi
-============================
-
-{% for host in groups['compute'] %}
-{{ hostvars[host].ansible_hostname }}
------------------------------
-
-{{ ('CPU Brand', hostvars[host].system_info.cpu[0])|justify }}
-{{ ('Disk', hostvars[host].system_info.disk[0])|justify }}
-{{ ('Host Name', hostvars[host].system_info.hostname[0])|justify }}
-{{ ('Kernel', hostvars[host].system_info.kernel[0])|justify }}
-{{ ('Memory', hostvars[host].system_info.memory[0])|justify }}
-{{ ('Operating System', hostvars[host].system_info.os[0])|justify }}
-{{ ('Product', hostvars[host].system_info.product[0])|justify }}
-
-{% endfor %}