Netbox: Add a rack model number and vendor field into the standard rack data model

Created on 6 Aug 2019  路  7Comments  路  Source: netbox-community/netbox

Environment

Python version: 3.6.8
NetBox version: 2.6.2

Proposed Functionality

Add a rack model number and vendor field into the standard rack data model.

Use Case

The vendor field, if it extends the model too much, does not have to be enforced, but it helps if anyone ever wants to create reports to show all assets associated to a vendor across all asset types. If you were to extend the model some more, then you could have a rack type similar to a device type where you would not have to individually set the rack details for every rack,

Most helpful comment

One could argue pretty much everything physical in Netbox would have a Manufacturer/Model/Serial - Racks, servers, PDU's, breakers, whips, etc.

Might we consider making these fields standard across the model and let custom fields address anything above and beyond?

All 7 comments

I believe it can be achieve with using custom field which is existing functionality

Totally, that is what I am doing now. I have a custom field for manufacturers (a selection where I maintain a list of vendors) and a custom field for Part Number (a selection where I maintain a list of models). At least the manufacturers field seems redundant and not able to be linked within the data model for the manufacturers data model.

We are also using custom fields for Rack manufacturer, vendor and model
+1 for making it part of dcim/manufacturers/

One could argue pretty much everything physical in Netbox would have a Manufacturer/Model/Serial - Racks, servers, PDU's, breakers, whips, etc.

Might we consider making these fields standard across the model and let custom fields address anything above and beyond?

I agree with @bellwood.

@jeremystretch do you need more feedback? I would be happy to provide more if so. I also understand if this feature is deprioritized or not in scope. I just ask as I do my pre-spring cleaning.

It doesn't look like this has drawn much interest in the six months it's been open. I appreciate the use case but I don't think many network engineers particularly care to track rack models. I'm going to close this out, but maybe we'll revisit the idea in the future once we've taken care of the more pressing backlogged items.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hoalex picture hoalex  路  3Comments

VictorJ76 picture VictorJ76  路  3Comments

soer7022 picture soer7022  路  3Comments

bellwood picture bellwood  路  3Comments

markve-sa picture markve-sa  路  4Comments