{% extends "resources/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}IP Pools - Pychestrate Resources{% endblock %} {% block content %} {% if can_manage %}
{{ ui.icon("add") }} Create IP Pool
{% endif %}
{% if can_manage %}{% endif %} {% for pool in pools %} {% if can_manage %} {% endif %} {% else %} {% endfor %}
Name CIDR Version Total Available Allocated ReservedActions
{{ pool.name }} {{ pool.cidr }} {{ pool.ip_version }} {{ pool.total_addresses | humanize_count }} {% if pool.available_count > 0 %} {{ pool.available_count | humanize_count }} {% else %} 0 {% endif %} {{ pool.allocated_count | humanize_count }} {{ pool.reserved_count | humanize_count }}
Edit
No IP pools found. {% if can_manage %}Create one{% endif %}
{{ ui.pagination('resources.ip_pool_list', page, total_pages, {'per_page': per_page}, total=total) }} {% if my_allocations %}

Your IP addresses

{% for alloc in my_allocations %} {% endfor %}
IP addresses you have checked out
IP Address Pool Job ID Reason Checked out Actions
{{ alloc.ip_address }} {{ alloc.pool_name }} {{ alloc.job_id or '—' }} {{ alloc.reason or '—' }} {{ alloc.checkout_time | format_datetime('%Y-%m-%d %H:%M', '—') }}
{% endif %} {% endblock %}