Skip to content

Conversation

@pheus
Copy link
Contributor

@pheus pheus commented Sep 14, 2025

Fixes: #19262

  • Lift the “same prefix” requirement when assigning FHRP groups to interfaces.
  • Remove FHRPGroupAssignmentForm.__init__ filtering; show all groups regardless of VIP subnet.
  • Add group_id to the q filter for matching by group ID (per maintainer feedback).

Reason: NAT/shared VIP subnets mean interface IP and VIP prefixes can differ; type‑ahead search keeps selection manageable.

Remove `FHRPGroupAssignmentForm.__init__` logic that tied group choices
to the interface IP prefix. Add `group_id` to the `q` filter to enable
matching by group ID.

Fixes netbox-community#19262
@pheus pheus marked this pull request as ready for review September 15, 2025 14:17
@jeremystretch jeremystretch requested review from a team and jeremystretch and removed request for a team September 15, 2025 16:56
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pheus!

@jeremystretch jeremystretch merged commit 31644b4 into netbox-community:main Sep 15, 2025
7 checks passed
@pheus pheus deleted the 19262-lift-fhrp-ip-prefix-constraint branch September 15, 2025 17:46
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disassociate between interface FHRP group assignment options and interface IP address

2 participants