Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes: #11715 - Fix Parent Prefix table display #12448

Merged

Conversation

DanSheps
Copy link
Member

@DanSheps DanSheps commented May 3, 2023

Fixes: #11715

Fixes the display of a prefix's parent(s) in the prefix detailed view when the prefix is in a VRF and there are global prefixes that could be parents. If the "parent" prefixes have an active status, they will also show even though they should only show when the status is "container"

@DanSheps
Copy link
Member Author

DanSheps commented May 3, 2023

Going to check the IP table to ensure there are no issues there either. Looks like it uses different logic for that so all good.

netbox/ipam/views.py Outdated Show resolved Hide resolved
@jeremystretch
Copy link
Member

Thanks @DanSheps!

@jeremystretch jeremystretch merged commit 7a38f60 into develop May 5, 2023
@jeremystretch jeremystretch deleted the 11715-fix-parent-prefix-table-global-vrf-active branch May 5, 2023 13:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2023
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.

Prefix in different VRF wrongly sees global prefix as its parent
2 participants