{% load helpers %}
Total Interfaces

{{ interfaces_total|default:0 }}

Up

{{ interfaces_up|default:0 }}

Down

{{ interfaces_down|default:0 }}

{% if vm_interfaces or node_interfaces %}

VM Interfaces ({{ vm_interfaces|length }})

{% for iface in vm_interfaces %} {% endfor %}
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 }}

Node Interfaces ({{ node_interfaces|length }})

{% for iface in node_interfaces %} {% endfor %}
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 }}
{% else %}
No interfaces synced with Proxbox yet.
Click "Sync Interfaces" to synchronize Proxmox interfaces with NetBox.
{% endif %}