Deprecate the use of inventory items #10950

Closed
opened 2025-12-29 21:38:12 +01:00 by adam · 2 comments
Owner

Originally created by @jeremystretch on GitHub (Mar 25, 2025).

Originally assigned to: @jeremystretch on GitHub.

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.

Originally created by @jeremystretch on GitHub (Mar 25, 2025). Originally assigned to: @jeremystretch on GitHub. ### 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.
adam added the status: acceptedtype: deprecation labels 2025-12-29 21:38:12 +01:00
adam closed this issue 2025-12-29 21:38:13 +01:00
Author
Owner

@ITJamie commented on GitHub (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

@ITJamie commented on GitHub (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 <img width="1346" alt="Image" src="https://github.com/user-attachments/assets/6f0bf4c7-0f11-4e47-bf64-d02f8674ff83" /> <img width="1400" alt="Image" src="https://github.com/user-attachments/assets/c3d33fd9-82f7-45f0-ad38-3da71fe3c1db" />
Author
Owner

@jeremystretch commented on GitHub (Mar 27, 2025):

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.

@jeremystretch commented on GitHub (Mar 27, 2025): 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 in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10950