feat(virtualization): Add Q-in-Q SVLAN to VMinterface template

Displays Q-in-Q SVLAN information for virtual machine interfaces with
Q-in-Q mode enabled.
This commit is contained in:
Martin Hauser 2025-04-25 16:08:54 +02:00
parent e58815bb1a
commit 336b0ef01d
No known key found for this signature in database

View File

@ -55,6 +55,12 @@
<th scope="row">{% trans "802.1Q Mode" %}</th>
<td>{{ object.get_mode_display|placeholder }}</td>
</tr>
{% if object.mode == 'q-in-q' %}
<tr>
<th scope="row">{% trans "Q-in-Q SVLAN" %}</th>
<td>{{ object.qinq_svlan|linkify|placeholder }}</td>
</tr>
{% endif %}
<tr>
<th scope="row">{% trans "Tunnel" %}</th>
<td>{{ object.tunnel_termination.tunnel|linkify|placeholder }}</td>