Subnet Utilization report

This commit is contained in:
Oliver Gorwits
2014-01-01 15:21:23 +00:00
parent bebb07458f
commit cb9abc2355
9 changed files with 156 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
[% USE CSV %]
[% CSV.dump([ 'Subnet' 'Size' 'Number of Active Nodes' 'Percent Utilization' ]) %]
[% FOREACH row IN results.all %]
[% mylist = [] %]
[% mylist.push(row.subnet) %]
[% mylist.push(row.subnet_size) %]
[% mylist.push(row.active) %]
[% mylist.push(row.percent) %]
[% CSV.dump(mylist) %]
[% END %]