Add IP associates to VRF page similar to prefixes #4445

Closed
opened 2025-12-29 18:36:03 +01:00 by adam · 1 comment
Owner

Originally created by @ryanmerolle on GitHub (Jan 8, 2021).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.8
  • NetBox version: 2.10.3

Proposed Functionality

Display associated count/link to IPs in VRF similar to how prefixes count link is displayed for prefixes in said VRF. Only prefix_count is shown on the webgui for a VRF and not ip_count.

Use Case

I only say this because both prefixes and IPs can be associated to a VRF, and you must remove all said associations to a VRF before you can delete the VRF. If you do not move or delete all IPs and prefixes associated to a vrf, NetBox displays a tool tip that the deletion could not be completed because and are still associated with said VRF.

Without displaying this in the NetBox webgui, users will not be aware how many, if any IPs are assigned to the VRF.

This is really only needed where prefixes may not be defined for uses like loopbacks.

Database Changes

None

External Dependencies

Originally created by @ryanmerolle on GitHub (Jan 8, 2021). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.8 * NetBox version: 2.10.3 ### Proposed Functionality Display associated count/link to IPs in VRF similar to how prefixes count link is displayed for prefixes in said VRF. Only prefix_count is shown on the webgui for a VRF and not ip_count. ### Use Case I only say this because both prefixes and IPs can be associated to a VRF, and you must remove all said associations to a VRF before you can delete the VRF. If you do not move or delete all IPs and prefixes associated to a vrf, NetBox displays a tool tip that the deletion could not be completed because <IPs> and <prefixes> are still associated with said VRF. Without displaying this in the NetBox webgui, users will not be aware how many, if any IPs are assigned to the VRF. This is really only needed where prefixes may not be defined for uses like loopbacks. ### Database Changes None ### External Dependencies
adam added the status: acceptedtype: feature labels 2025-12-29 18:36:03 +01:00
adam closed this issue 2025-12-29 18:36:03 +01:00
Author
Owner

@stale[bot] commented on GitHub (Mar 5, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@stale[bot] commented on GitHub (Mar 5, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4445