{% extends 'portadmin/base.html' %} {% block content %} {% if interface %}

Back to {{ interface.netbox.sysname }}

Interface {{ interface }}

{% for vlan in available_vlans %} {% comment %} Users are only allowed to set vlans that is related to their organization. We set the fields to disabled if they should not be able to change the. As checkboxes and radio buttons does not provide their values to POST requests when they are disabled, we need to provide a hidden field to submit the values on the request. {% endcomment %} {% comment %}Checkbox for tagging this vlan on this interface{% endcomment %} {% endfor %}
Configure trunk
Vlan Description Net Ident Native Trunked
{{ vlan.vlan }} {{ vlan.descr|default_if_none:"" }} {{ vlan.net_ident|default_if_none:"" }} {% if vlan in allowed_vlans %} {% else %} {% if vlan.vlan == native_vlan %} {% endif %} {% endif %} {% if vlan in allowed_vlans %} {% else %} {% if vlan.vlan in trunked_vlans %} {% endif %} {% endif %}

Back to {{ interface.netbox.sysname }}

{% else %}

This interface does not exist

{% endif %} {% endblock %}