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

Marking prefixes as fully allocated #4609

Closed
ChrisDeh opened this issue May 8, 2020 · 3 comments
Closed

Marking prefixes as fully allocated #4609

ChrisDeh opened this issue May 8, 2020 · 3 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@ChrisDeh
Copy link

ChrisDeh commented May 8, 2020

Environment

  • Python version: 3.8.2
  • NetBox version: 2.8.3

Proposed Functionality

Adding an option to a prefix, for marking every IP within this prefix as "in use" - like there is every IP within the prefix created. Especially for IPv6 prefixes were it is impossible to create every IP within a prefix this could be a solution to document the prefix is fully allocated and can't be used. In the prefix-list view, the Utilization Percentage would be shown as 100%, if the option is used.

Use Case

This can be used for example to document IPv6 Prefixes used for DHCP Prefix Delegation to Customers. When speaking about IPv4 Prefixes it is possible to create every IP-Address within a Prefix and define it as "DHCP" - this is not possible with IPv6 cause would decrease netbox Performance massively.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels May 12, 2020
@jeremystretch
Copy link
Member

I do want to note that prefix utilization can be calculated in two ways: For container prefixes, it's calculated based on the number and size of child prefixes. For others, it's calculated based on the number of child IP addresses. If implemented, this flag would imply 100% utilization for either case as appropriate.

@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release and removed status: accepted This issue has been accepted for implementation labels Jul 24, 2020
@v0tti
Copy link
Contributor

v0tti commented Sep 24, 2020

I would like to start working on this issue as we need this feature ourself.

As I am not very experienced with Django projects, feedback is very welcome. My current status corresponds to my fork. Should I create a WIP pull request?

An important consideration is with available IP addresses and available prefixes. Should they be returned as available even if this flag is set?

@jeremystretch
Copy link
Member

@v0tti No work will be accepted on this issue yet as it is still awaiting milestone assignment.

@netbox-community netbox-community deleted a comment from ChrisDeh Dec 14, 2020
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed needs milestone Awaiting prioritization for inclusion with a future NetBox release labels May 10, 2021
@jeremystretch jeremystretch added this to the v2.12 milestone May 10, 2021
@jeremystretch jeremystretch self-assigned this May 11, 2021
jeremystretch added a commit that referenced this issue May 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
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

No branches or pull requests

3 participants