{% extends "info/prefix/base.html" %} {% block base_header_additional_head %} {% endblock %} {# Javascripts that run after DOM loaded #} {% block footer_scripts %} {% if can_edit %} {# Scripts for adding more tags to the prefix #} {% endif %} {% endblock %} {% block base_content %}

Prefix details for {{ prefix.net_address }}

View prefix report {% if prefix.vlan.net_type.edit %} Edit prefix in SeedDb {% endif %}
{# left column #}
{% if can_edit %} {% endif %} {# Tags #}
Tags:
{% include 'info/prefix/frag_tags.html' %}
{% if can_edit %} {% endif %} {# Print gwportprefixes #} {% for gwportprefix in prefix.gwportprefix_set.all %} {% endfor %}
Router ports
Netbox Address Interface
{{ gwportprefix.interface.netbox.sysname }} {{ gwportprefix.gw_ip }} {{ gwportprefix.interface.ifname }}
{# Print vlan information #} {% with vlan=prefix.vlan %}
Assigned to vlan {{ vlan }}
Vlan {{ vlan.vlan|default_if_none:"N/A" }}
Type {{ vlan.net_type|default_if_none:"" }}
Organization {{ vlan.organization|default_if_none:"" }}
Net Ident {{ vlan.net_ident|default_if_none:"" }}
Usage {{ vlan.usage|default_if_none:"" }}
Description {{ vlan.description|default_if_none:"" }}
{% endwith %}
{# end left column #} {# Right column #}
{% endblock %}