Skip to content

Add filter to container prefixes to show only avaliable child Prefixes #7665

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

Closed
WillIrvine opened this issue Oct 28, 2021 · 1 comment · Fixed by #7826
Closed

Add filter to container prefixes to show only avaliable child Prefixes #7665

WillIrvine opened this issue Oct 28, 2021 · 1 comment · Fixed by #7826
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@WillIrvine
Copy link
Contributor

WillIrvine commented Oct 28, 2021

NetBox version

v3.0.8

Feature type

Change to existing functionality

Proposed functionality

When looking at the child prefixes of a container prefix there are two views

  1. "Show Available" Prefixes
  2. "Hide Available" Prefixes

image

This FR proposes a third option that filters only by available prefixes in the container. "Show Only Available"

This filter removes all currently allocated prefixes from the list, and only displays currently unassigned "available" prefixes within the container prefix

I should be able to put a PR in for this if accepted.

Use case

We currently use the "Show Available Prefixes" filter to assign new child prefixes from the container.
This works well when the container is mostly empty, but when you have a /20 container full of /31's that's 99% full you need to run through pages and pages of allocated prefixes to find the ones that are unallocated.

Database changes

None - this functionality is currently available via the API

External dependencies

None

@WillIrvine WillIrvine added the type: feature Introduction of new functionality to the application label Oct 28, 2021
@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Nov 2, 2021
@WillIrvine
Copy link
Contributor Author

WillIrvine commented Nov 13, 2021

@jeremystretch can i be assigned this?

WillIrvine pushed a commit to WillIrvine/netbox that referenced this issue Nov 13, 2021
…efixes, adjust current filter for avaliabile prefixes to only return avaliable
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Nov 13, 2021
jeremystretch added a commit that referenced this issue Dec 13, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants