{% extends 'base.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load plugins %} {% block header %}
{% plugin_buttons object %} {% if perms.ipam.add_prefix and active_tab == 'prefixes' and first_available_prefix %} Add Child Prefix {% endif %} {% if perms.ipam.add_ipaddress and active_tab == 'ip-addresses' and first_available_ip %} Add an IP Address {% endif %} {% if perms.ipam.add_prefix %} {% clone_button object %} {% endif %} {% if perms.ipam.change_prefix %} {% edit_button object %} {% endif %} {% if perms.ipam.delete_prefix %} {% delete_button object %} {% endif %}

{% block title %}{{ object }}{% endblock %}

{% include 'inc/created_updated.html' %} {% include 'ipam/inc/toggle_available.html' %}
{% custom_links object %}
{% endblock %} {% block content %}
Prefix
Family IPv{{ object.family }}
VRF {% if object.vrf %} {{ object.vrf }} ({{ object.vrf.rd }}) {% else %} Global {% endif %}
Tenant {% if object.tenant %} {% if object.tenant.group %} {{ object.tenant.group }} / {% endif %} {{ object.tenant }} {% else %} None {% endif %}
Aggregate {% if aggregate %} {{ aggregate.prefix }} ({{ aggregate.rir }}) {% else %} None {% endif %}
Site {% if object.site %} {% if object.site.region %} {{ object.site.region }} / {% endif %} {{ object.site }} {% else %} None {% endif %}
VLAN {% if object.vlan %} {% if object.vlan.group %} {{ object.vlan.group }} / {% endif %} {{ object.vlan.display_name }} {% else %} None {% endif %}
Status {{ object.get_status_display }}
Role {% if object.role %} {{ object.role }} {% else %} None {% endif %}
Description {{ object.description|placeholder }}
Is a pool {% if object.is_pool %} {% else %} {% endif %}
Utilization {% utilization_graph object.get_utilization %}
{% include 'inc/custom_fields_panel.html' %} {% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:prefix_list' %} {% plugin_left_page object %}
{% if duplicate_prefix_table.rows %} {% include 'panel_table.html' with table=duplicate_prefix_table heading='Duplicate Prefixes' panel_class='danger' %} {% endif %} {% include 'panel_table.html' with table=parent_prefix_table heading='Parent Prefixes' panel_class='default' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}