Active lease differs from reservation
{% if lease_diff.hostname %}
The active lease has hostname: {{ lease_diff.hostname }}
{% endif %}
{% endif %}
{{ action }} DHCPv{{ dhcp_version }} Reservation
{# Both banners promise an IPAM record, which only holds for a reservation that #}
{# actually reserves an address. Identifier-only and prefix-only hosts have none. #}
{% if object.sync_enabled and object.sync_reservations_enabled %}
Automatic IPAM sync is enabled for this server.
A reservation with a fixed IP address will be synced to NetBox IPAM on the next
scheduled sync run (not instantly). You can also use the checkbox below to sync
immediately. Reservations that reserve no address are skipped — there is nothing
to record in IPAM.
{% else %}
Automatic IPAM sync is disabled for this server.
Use the checkbox below to sync this reservation to NetBox IPAM immediately.
A reservation that reserves no address has nothing to sync.
{% endif %}
{% include "netbox_kea/inc/formset_add_row.html" %}
{% if action == "Add" %}
{% comment %}
Live NetBox IPAM conflict advisory: on blur of the IP field, fetch a small
HTML fragment and show it under the field. Plain fetch, no HTMX dependency.
Only attached in Add mode — the IP field is disabled (read-only) when editing.
{% endcomment %}
{% endif %}
{% endblock %}