netbox/netbox/ipam
Martin Hauser 3f02309538
fix(ipam): Avoid allocating IPv6 subnet-router anycast address (#21547)
Ensure available IP selection for IPv6 non-pool prefixes excludes the
subnet-router anycast address (RFC 4291), so allocation starts at ::1
for typical prefixes (e.g. /64).
Add tests for IPv4/IPv6 pools and special cases (/31-/32, /127-/128).

Fixes #21347
2026-03-03 08:26:44 -08:00
..
api chore(ruff): Sort `__all__` definitions across modules 2026-02-20 15:36:01 +01:00
forms Closes #21550: Call snapshot() before saving related objects (#21551) 2026-03-03 14:01:04 +01:00
graphql refactor(graphql): Replace FilterLookup[str] with StrFilterLookup 2026-03-03 11:17:13 -05:00
management Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
migrations Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
models fix(ipam): Avoid allocating IPv6 subnet-router anycast address (#21547) 2026-03-03 08:26:44 -08:00
tables chore(ruff): Sort `__all__` definitions across modules 2026-02-20 15:36:01 +01:00
tests fix(ipam): Avoid allocating IPv6 subnet-router anycast address (#21547) 2026-03-03 08:26:44 -08:00
ui refactor(virtualization): Port to declarative layout 2026-02-20 14:58:20 +01:00
__init__.py
apps.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
choices.py
constants.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
fields.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
filtersets.py chore(ruff): Sort `__all__` definitions across modules 2026-02-20 15:36:01 +01:00
formfields.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
lookups.py Closes #21473: Enable UP rules and modernize string formatting (#21488) 2026-02-19 10:25:08 -06:00
managers.py
querysets.py Update get_for_virtualmachine to support lookup by cluster location 2025-05-13 22:20:54 -04:00
search.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
signals.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
urls.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
utils.py fix(ipam): Avoid allocating IPv6 subnet-router anycast address (#21547) 2026-03-03 08:26:44 -08:00
validators.py
views.py chore(ruff): Enable RET rules and add explicit fallbacks 2026-02-18 16:49:36 -05:00