{% load helpers %}
| Interface | Type | MAC Address | Mode | VLAN | Parent VM | IP Addresses | Description | |
|---|---|---|---|---|---|---|---|---|
| {% if iface.enabled %} {% else %} {% endif %} | {{ iface.name }} | {{ iface.get_type_display|default:"—" }} | {{ iface.mac_address|default:"—" }} | {{ iface.mode|default:"—" }} | {% if iface.untagged_vlan %} {{ iface.untagged_vlan }} {% else %} — {% endif %} | {% if iface.virtual_machine %} {{ iface.virtual_machine.name }} {% else %} — {% endif %} |
{% for ip in iface.ip_addresses.all %}
{{ ip.address }} {% empty %} — {% endfor %} |
{{ iface.description|default:"—"|truncatechars:40 }} |
| Interface | Type | Mode | VLAN | Device | IP Addresses | Description | |
|---|---|---|---|---|---|---|---|
| {% if iface.enabled %} {% else %} {% endif %} | {{ iface.name }} | {{ iface.get_type_display|default:"—" }} | {{ iface.mode|default:"—" }} | {% if iface.untagged_vlan %} {{ iface.untagged_vlan }} {% else %} — {% endif %} | {% if iface.device %} {{ iface.device.name }} {% else %} — {% endif %} |
{% for ip in iface.ip_addresses.all %}
{{ ip.address }} {% empty %} — {% endfor %} |
{{ iface.description|default:"—"|truncatechars:40 }} |