{% for key, result in mac_tracker.items %} {% for row in result %} {% if row.fishy %}{% else %}{% endif %} {% endfor %} {% endfor %}
MAC Search results
{{ mac_tracker_count }} hit{{ mac_tracker_count|pluralize }}
Switch Module Interface Start time End time Mac
{% if row.netbox.sysname %} {{ row.netbox.sysname }} {% else %} {{ row.sysname }} {% endif %} {% if row.netbox.sysname %} IP Device info search {% endif %} {{ row.module|default_if_none:"" }} {% with form_data.dns|yesno:"True," as dns %} {{ row.port }} {% endwith %} {% if row.netbox.sysname and row.port %} IP Info search {% endif %} {{ row.start_time|date:"Y-m-d H:i" }} {% if row.still_active %} {{ row.still_active }} {% if row.fishy %}{% include "machinetracker/fishy.html" %}{% endif %} {% else %} {{ row.end_time|date:"Y-m-d H:i" }} {% endif %} {% with form_data.dns|yesno:"True," as dns %} {% if forloop.first %} {{ row.mac }} {% endif %} {% endwith %}
{{ mac_tracker_count }} hit{{ mac_tracker_count|pluralize }}

Interface details

Please note that the MAC search results are historic data, while the information found at the interface details link is the current data on the interface. They may have no other connection than being related to the same interface at different points in time.