mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-20 10:16:42 -06:00
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:
parent
e58815bb1a
commit
336b0ef01d
@ -55,6 +55,12 @@
|
|||||||
<th scope="row">{% trans "802.1Q Mode" %}</th>
|
<th scope="row">{% trans "802.1Q Mode" %}</th>
|
||||||
<td>{{ object.get_mode_display|placeholder }}</td>
|
<td>{{ object.get_mode_display|placeholder }}</td>
|
||||||
</tr>
|
</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>
|
<tr>
|
||||||
<th scope="row">{% trans "Tunnel" %}</th>
|
<th scope="row">{% trans "Tunnel" %}</th>
|
||||||
<td>{{ object.tunnel_termination.tunnel|linkify|placeholder }}</td>
|
<td>{{ object.tunnel_termination.tunnel|linkify|placeholder }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user