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

add support for racks and rack types #205

Merged
merged 17 commits into from
Dec 13, 2024
Merged

add support for racks and rack types #205

merged 17 commits into from
Dec 13, 2024

Conversation

matejv
Copy link
Member

@matejv matejv commented Dec 12, 2024

netbox 4.1 introduced support for rack types - these are models of racks, like device - device types.

Now you can create assets that represent racks and are related to rack types. So you can have your racks in inventory amongst all other assets.

One caveat: netbox supports creating racks without a rack type. You set all fields related to rack dimensions directly on a rack instead of a rack type. Unfortunately netbox-inventory always requires creating a rack type before you can create a rack from an asset. This requirement is deeply built into netbox-inventory and changing it would require massive changes which I don't want to make. So the limitation stays in place for now.

@matejv matejv self-assigned this Dec 12, 2024
@matejv matejv force-pushed the racks branch 8 times, most recently from 969188f to d2869a3 Compare December 13, 2024 08:00
@matejv matejv merged commit 383c65e into master Dec 13, 2024
1 check passed
@matejv matejv deleted the racks branch December 13, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant