Skip to content

Add IP associates to VRF page similar to prefixes #5592

@ryanmerolle

Description

@ryanmerolle

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

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions