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

Pre-render utilization data for aggregates, prefixes, and IP ranges #7451

Closed
jeremystretch opened this issue Oct 5, 2021 · 1 comment
Closed
Labels
type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

NetBox version

v3.0.5

Feature type

Change to existing functionality

Proposed functionality

This issue seeks to explore the feasibility of pre-rendering and recording utilization data for aggregates, prefixes, and IP ranges in the database. Currently, when retrieving a list of prefixes, NetBox will calculate the utilization of each on-demand. As an alternative implementation, we could store these values directly on each object in the database, and update them appropriately as child objects are created and deleted.

Use case

This would greatly improve performance where utilization data is required. It would also enable us to easily return this information via the REST API as proposed in #7292.

Database changes

Addition of a utilization decimal field on each of the affected models

External dependencies

No response

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Oct 5, 2021
@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Nov 12, 2021
@jeremystretch
Copy link
Member Author

Ditching this idea in favor of #7845.

@jeremystretch jeremystretch removed the needs milestone Awaiting prioritization for inclusion with a future NetBox release label Dec 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant