-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v3.1.0
Feature type
Data model extension
Proposed functionality
Proposal is to create Inventory Templates that allow us to define an inventory item basics,
The device inventory item will need a reference to the template and extended with unique fields like serial numbers
Use case
In devices, the inventory can be updated by manually entering the Manu/Partid/name,...
Lots of parts are used multiple times in different devices (like in servers :CPU types, Memory or in routers/switches, linecards, routing engines,...),
It will keep the inventory 'clean' of typo's, garbage, ...
The inventory items can be limited to the only those that are allowed.
Database changes
A new model is required
dcim.inventory_template
- Name
- Manufacturer (dcim.manufacturer)
- PartID
The dcim.inventory_item needs to be updated
Remove
- Manufacturer (dcim.manufacturer)
- PartID
Add - Inventory_template (dcim.inventory_template)
There is no need to enforce the Manufacturer to be the same as or limit to the device the inventory item is added to.
External dependencies
No response