SIGN IN SIGN UP

ui: add IP/CIDR validator with full prefix range checks

Introduce an IP64FullRangeCIDRAddress validator that accepts IPv4 and
IPv6 CIDR addresses with the full prefix range of 0-32 and 0-128. This
is useful when e.g. selecting a prefix on the route-map, where 0.0.0.0/0
is a valid prefix (allow-all).
Place it here instead of in proxmox-widget-toolkit, because its
probably not gonna be used anywhere else for now. To preserve backwards
compatibility and not break anything, keep the old IP64CIDRAddress (with
cidr ranges 8-32, 8-128) around (in proxmox-widget-toolkit).

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
Link: https://lore.proxmox.com/20260513083430.63529-5-g.goller@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
G
Gabriel Goller committed
c8b575ba04bdd453fb8012129d027721b9ef9bc5
Parent: 9cec18a
Committed by Thomas Lamprecht <t.lamprecht@proxmox.com> on 8/26/2026, 5:26:26 PM