Browse Source

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

Martin Hauser 9 months ago
parent
commit
1141ddb22a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      netbox/templates/virtualization/vminterface.html

+ 6 - 0
netbox/templates/virtualization/vminterface.html

@@ -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>