DataTables for duplex mismatches between devices report

This commit is contained in:
Eric A. Miller
2014-05-28 23:39:06 -04:00
parent b90bf5bccc
commit 4df2b5d216
3 changed files with 64 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
[% USE CSV -%]
[% CSV.dump([ 'Left Device' 'Port' 'Duplex' 'Right Device' 'Port' 'Duplex' ]) %]
[% WHILE (row = results.next) %]
[% FOREACH row IN results %]
[% mylist = [] %]
[% device_left = row.left_dns || row.left_ip %]
[% device_right = row.right_dns || row.right_ip %]