{% extends 'dcim/device/base.html' %} {% load i18n %} {% block content %}

{% trans "CDP / LLDP neighbors" %} {% if result %} {% trans "seen in the collection of" %} {{ result.timestamp|isodatetime:"minutes" }} {% endif %}

{% for m in matches %} {% empty %} {% endfor %}
{% trans "Port" %} {% trans "Neighbor" %} {% trans "Neighbor port" %} {% trans "Platform" %} {% trans "IP" %} {% trans "Via" %} {% trans "In NetBox" %}
{% if m.local_interface %}{{ m.local_interface|linkify }}{% else %}{{ m.neighbor.local_interface }}{% endif %} {% if m.device %}{{ m.device|linkify }}{% else %}{{ m.neighbor.name }}{% endif %} {% if m.interface %}{{ m.interface|linkify }}{% else %}{{ m.neighbor.interface }}{% endif %} {{ m.neighbor.platform|placeholder }} {{ m.neighbor.ip|placeholder }} {{ m.neighbor.protocol|upper }} {{ m.status }} {% if m.note %}{{ m.note }}{% endif %} {% if m.status == "no cable" and can_add_cable %}
{% csrf_token %}
{% endif %}
{% trans "The device reported no CDP or LLDP neighbors." %}
{% endblock %}