[#74] Device Name / DNS mismatches report

This commit is contained in:
Eric A. Miller
2014-01-26 20:50:01 -05:00
parent 00b370ed0e
commit e23c30f0be
6 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[% USE CSV -%]
[% CSV.dump([ 'Name' 'DNS' 'IP Address' 'Contact' 'Location' ]) %]
[% WHILE (row = results.next) %]
[% mylist = [] %]
[% mylist.push(row.name) %]
[% mylist.push(row.dns) %]
[% mylist.push(row.ip) %]
[% mylist.push(row.contact) %]
[% mylist.push(row.location) %]
[% CSV.dump(mylist) %]
[% END %]