{% extends 'dcim/device/base.html' %} {% load static %} {% block content %}
{# ---------- Key figures and controls ---------- #}
Ports
{{ summary.total }}
physische Schnittstellen
Belegt
{{ summary.connected }} ({{ summary.percent }} %)
Frei
{{ summary.free }}
aktiviert, ohne Kabel
Deaktiviert
{{ summary.disabled }}
Schnittstelle abgeschaltet
{# ---------- Front panel ---------- #}

Portbelegung
CSV

{% if not groups %}

Dieses Gerät hat keine physischen Schnittstellen.

{% endif %} {% for group in groups %}
{{ group.title }} · {{ group.ports|length }} Ports
{% for column in group.columns %} {% endfor %}
{% endfor %} {# Legends #}
{{ states.connected }} {{ states.free }} {{ states.disabled }}
{% for vlan, color, total, connected in legend %} {% empty %} Keine Labels gepflegt. {% endfor %}
{# ---------- Table ---------- #}

Alle Schnittstellen

{% for port in ports %} {% endfor %}
PortStatusVLAN (Label)GegenstelleBeschreibungTypLAG
{{ port.name }}{% if port.mgmt_only %} Mgmt{% endif %} {{ port.state_label }} {% if port.label %}{{ port.label }}{% else %}—{% endif %} {% if port.peer_url %}{{ port.peer }}{% else %}{{ port.peer|default:"—" }}{% endif %} {{ port.description|default:"—" }} {{ port.type_display }} {{ port.lag|default:"—" }}
{% endblock content %}