{% extends 'ipam/prefix/base.html' %} {% load humanize %} {% load helpers %} {% load plugins %} {% block content %}
| 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 %} |
| 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 }} {% else %} None {% endif %} |
| Status | {{ object.get_status_display }} |
| Role | {% if object.role %} {{ object.role }} {% else %} None {% endif %} |
| Description | {{ object.description|placeholder }} |
| Is a pool | {% checkmark object.is_pool %} |
| Utilization | {% if object.mark_utilized %} {% utilization_graph 100 warning_threshold=0 danger_threshold=0 %} (Marked fully utilized) {% else %} {% utilization_graph object.get_utilization %} {% endif %} |
|---|---|
| Child IPs | {{ child_ip_count }} |
| Available IPs | {# Use human-friendly words for counts greater than one million #} {% if available_count > 1000000 %} {{ available_count|intword }} {% else %} {{ available_count|intcomma }} {% endif %} |
| First available IP | {% with first_available_ip=object.get_first_available_ip %} {% if first_available_ip %} {% if perms.ipam.add_ipaddress %} {{ first_available_ip }} {% else %} {{ first_available_ip }} {% endif %} {% else %} None {% endif %} {% endwith %} |