Services: Kea DHCPv6: infer IPv6 lease tpe in delete script via lease lookup
This avoids propagating lease type handling through controller and UI
layers while fixing unreliable deletion of IA_PD leases.
The approach is pragmatic: in the extremely unlikely case that IA_NA and
IA_PD share the same base address, multiple leases may be deleted. This
tradeoff is considered acceptable given the low impact and recoverable
nature of DHCP leases.
Turn lease delete into a one to one operation, requiring one IP and optionally one type. Since multiple parameters are required for IPv6 leases we cannot really batch or mix IP address families anymore.
Add HA/CARP safety for PPP link startup
Implement HA/CARP safety checks for PPP links to prevent startup if no parent interface is CARP MASTER when 'Disconnect dialup interfaces' is enabled.
ui: use space in apply box for the apply reminder (#10103)
It's a good way to use existing space and move the
message to where it matters most -- the apply button
itself. This also matches the legacy apply box style.
devel/grid_example: add option field to showcase grid %field magic
The form %field magic works here too but let's not complicate an
example controller with it.
PR: https://github.com/opnsense/core/issues/10225
Services: Kea DHCPv6: Allow customizing mac_sources and change default to ipv6-link-local (#10220)
* Services: Kea DHCPv6: Allow customizing mac_sources and change default to ipv6-link-local since it seems to align best with the expectations of our setup, especially taking PD route installation via kea_prefix_watcher.py into account.
Per default KEA would derive MAC addresses of clients from the DUID, but these do not take multiple interfaces into account. This means, the route target could be the wrong MAC address. The new default ipv6-link-local takes the EUI-64 assumption of the link-local address, this seems to be better suited as our default.
Two methods have been skipped since they are not implemented by KEA upstream, raw and subscriber-id.
* Specify this influences MAC based reservations. Since blast radius is larger make it non-advanced.
Services: Kea DHCPv6: Allow customizing mac_sources and change default to ipv6-link-local since it seems to align best with the expectations of our setup, especially taking PD route installation via kea_prefix_watcher.py into account.
Per default KEA would derive MAC addresses of clients from the DUID, but these do not take multiple interfaces into account. This means, the route target could be the wrong MAC address. The new default ipv6-link-local takes the EUI-64 assumption of the link-local address, this seems to be better suited as our default.
Two methods have been skipped since they are not implemented by KEA upstream, raw and subscriber-id.