{% extends 'base.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load plugins %} {% load render_table from django_tables2 %} {% block header %}
{% plugin_buttons object %} {% if perms.ipam.add_ipaddress %} {% clone_button object %} {% endif %} {% if perms.ipam.change_ipaddress %} {%edit_button object %} {% endif %} {% if perms.ipam.delete_ipaddress %} {% delete_button object %} {% endif %}

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

{% include 'inc/created_updated.html' with obj=object %}
{% custom_links object %}
{% endblock %} {% block content %}
IP Address
Family IPv{{ object.family }}
VRF {% if object.vrf %} {{ object.vrf }} {% else %} Global {% endif %}
Tenant {% if object.tenant %} {% if object.tenant.group %} {{ object.tenant.group }} / {% endif %} {{ object.tenant }} {% else %} None {% endif %}
Status {{ object.get_status_display }}
Role {% if object.role %} {{ object.get_role_display }} {% else %} None {% endif %}
DNS Name {{ object.dns_name|placeholder }}
Description {{ object.description|placeholder }}
Assignment {% if object.assigned_object %} {{ object.assigned_object.parent }} ({{ object.assigned_object }}) {% else %} {% endif %}
NAT (inside) {% if object.nat_inside %} {{ object.nat_inside }} {% if object.nat_inside.assigned_object %} ({{ object.nat_inside.assigned_object.parent }}) {% endif %} {% else %} None {% endif %}
NAT (outside) {% if object.nat_outside %} {{ object.nat_outside }} {% else %} None {% endif %}
{% include 'inc/custom_fields_panel.html' with obj=object %} {% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:ipaddress_list' %} {% plugin_left_page object %}
{% include 'panel_table.html' with table=parent_prefixes_table heading='Parent Prefixes' %} {% if duplicate_ips_table.rows %} {# Custom version of panel_table.html #}
Duplicate IP Addresses {% if more_duplicate_ips %} {% endif %}
{% render_table duplicate_ips_table 'inc/table.html' %}
{% endif %} {% include 'utilities/obj_table.html' with table=related_ips_table table_template='panel_table.html' heading='Related IP Addresses' panel_class='default noprint' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}