{% extends 'generic/object.html' %} {% load helpers %} {% block content %}
{% if has_ip_ranges %}
IP Range Pools {% if perms.ipam.add_iprange %} Add IP Range {% endif %}

Pools are derived from this prefix's child IP Ranges (excluding those marked as utilized). You can optionally configure each pool with a restricting client class, additional evaluated classes, and pool-specific option data.

{% for pool in pool_data %} {% endfor %}
IP Range Pool Range Client Class Additional Classes Options Actions
{{ pool.ip_range }} {% if pool.ip_range.description %}
{{ pool.ip_range.description }} {% endif %}
{{ pool.pool_range }} {% if pool.client_class %} {{ pool.client_class.name }} {% else %} — {% endif %} {% if pool.additional_classes %} {% for cc in pool.additional_classes %} {{ cc.name }} {% endfor %} {% else %} — {% endif %} {% if pool.option_data %} {% for opt in pool.option_data %} {{ opt.distinctive_name }} {% endfor %} {% else %} — {% endif %} {% if pool.subnet_pool %} {% if perms.netbox_dhcp_kea_plugin.change_subnetpool %} {% endif %} {% if perms.netbox_dhcp_kea_plugin.delete_subnetpool %} {% endif %} {% else %} {% if perms.netbox_dhcp_kea_plugin.add_subnetpool %} Configure {% endif %} {% endif %}
{% else %}
Pools
This subnet has no child IP Ranges. Pools are computed from available IPs within the prefix. To configure pool-level client classes and option data, create IP Ranges under the {{ object.prefix }} prefix first. {% if perms.ipam.add_iprange %} {% endif %}
{% if pools %}
Computed Pools (from available IPs)
{% for pool in pools %} {% endfor %}
Pool Range
{{ pool.pool }}
{% endif %}
{% endif %}
{% endblock %}