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

Deprecate the use of inventory items #19004

Open
jeremystretch opened this issue Mar 25, 2025 · 2 comments
Open

Deprecate the use of inventory items #19004

jeremystretch opened this issue Mar 25, 2025 · 2 comments
Labels
needs milestone Awaiting prioritization for inclusion with a future NetBox release status: under review Further discussion is needed to determine this issue's scope and/or implementation type: deprecation Removal of existing functionality or behavior

Comments

@jeremystretch
Copy link
Member

Proposed Changes

Deprecate the use of inventory items and, by extension, inventory item roles.

Justification

FRs #19001 and #19002 propose several improvements to modules that will eclipse the functionality provided by inventory items. Once implemented, we'll no longer need the inventory item model to track FRU hardware.

Impact

Users who employ inventory items today are encouraged to begin transitioning to using models instead. We may be able to provide some automated tooling to assist in this process. The removal of inventory items and roles will be planned for a future release.

@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release status: under review Further discussion is needed to determine this issue's scope and/or implementation type: deprecation Removal of existing functionality or behavior labels Mar 25, 2025
@ITJamie
Copy link
Contributor

ITJamie commented Mar 25, 2025

this is a pretty big change for those of use using inventory items to track hdd/sdd's, memory etc.
how long of an overlap window is being proposed?

i agree that its probably the right path in the long term, but for those of us leveraging inventory items as they stand and using plugins like netbox-inventory which link inventory purchases to inventory items it would be good to have an idea of how long we have to migrate and to refactor tooling.

screenshots attached of an example of our current setup which i believe will migrate over
Image
Image

@jeremystretch
Copy link
Member Author

To be clear, this is merely marking the functionality as deprecated. I would expect that it would not actually be removed from NetBox for several minor releases (probably around a year or so) to afford plenty of time to migrate to using modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs milestone Awaiting prioritization for inclusion with a future NetBox release status: under review Further discussion is needed to determine this issue's scope and/or implementation type: deprecation Removal of existing functionality or behavior
Projects
None yet
Development

No branches or pull requests

2 participants