Skip to content

Commit 1141ddb

Browse files
authored
feat(virtualization): Add Q-in-Q SVLAN to VMinterface template (#19345)
1 parent 68e9da5 commit 1141ddb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

netbox/templates/virtualization/vminterface.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ <h2 class="card-header">{% trans "Interface" %}</h2>
5555
<th scope="row">{% trans "802.1Q Mode" %}</th>
5656
<td>{{ object.get_mode_display|placeholder }}</td>
5757
</tr>
58+
{% if object.mode == 'q-in-q' %}
59+
<tr>
60+
<th scope="row">{% trans "Q-in-Q SVLAN" %}</th>
61+
<td>{{ object.qinq_svlan|linkify|placeholder }}</td>
62+
</tr>
63+
{% endif %}
5864
<tr>
5965
<th scope="row">{% trans "Tunnel" %}</th>
6066
<td>{{ object.tunnel_termination.tunnel|linkify|placeholder }}</td>

0 commit comments

Comments
 (0)