Files
netdisco/Netdisco/share/views/ajax/report/ipinventory_csv.tt
Oliver Gorwits bb38f40816 fix to IP Inventory for nodes with archive records.
also change column Device to be named Node.
2014-02-22 11:25:37 +00:00

15 lines
288 B
Plaintext

[% USE CSV %]
[% CSV.dump([ 'Node' 'DNS' 'Time Last' 'Time First' ]) %]
[% FOREACH row IN results %]
[% mylist = [] %]
[% mylist.push(row.ip) %]
[% mylist.push(row.dns) %]
[% mylist.push(row.time_first) %]
[% mylist.push(row.time_last) %]
[% CSV.dump(mylist) %]
[% END %]