mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Differentiate between LAG and virtual interfaces in device interface list
This commit is contained in:
parent
7cbea49c2d
commit
b42dab3eef
@ -19,7 +19,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<small>{{ iface.mac_address|default:'' }}</small>
|
<small>{{ iface.mac_address|default:'' }}</small>
|
||||||
</td>
|
</td>
|
||||||
{% if iface.is_virtual %}
|
{% if iface.is_lag %}
|
||||||
|
<td colspan="2" class="text-muted">LAG interface</td>
|
||||||
|
{% elif iface.is_virtual %}
|
||||||
<td colspan="2" class="text-muted">Virtual interface</td>
|
<td colspan="2" class="text-muted">Virtual interface</td>
|
||||||
{% elif iface.connection %}
|
{% elif iface.connection %}
|
||||||
{% with iface.connected_interface as connected_iface %}
|
{% with iface.connected_interface as connected_iface %}
|
||||||
|
Loading…
Reference in New Issue
Block a user