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

Bulk Import of Racks based on Rack Type #17465

Closed
jonzey0 opened this issue Sep 12, 2024 · 3 comments · Fixed by #18077
Closed

Bulk Import of Racks based on Rack Type #17465

jonzey0 opened this issue Sep 12, 2024 · 3 comments · Fixed by #18077
Assignees
Labels
complexity: low Requires minimal effort to implement netbox status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jonzey0
Copy link

jonzey0 commented Sep 12, 2024

NetBox version

v4.1.0

Feature type

Change to existing functionality

Proposed functionality

With the new feature to introduce Rack Types into NetBox. It'd be useful if we could then refer to these Rack Types when doing a Bulk Import of Racks.

Currently the Field Options do not allow for the Rack Type to be used in place of specifying the Post Width and Rack Height in RU, which means that when performing a Bulk Import or Creation of racks, they all have to be defined separately.

This both means that the Rack Types can't be used when performing a first-time database setup, and every rack needs to be defined manually. Also means that the Racks aren't associated with a Rack Type when using this method.

Use case

This would enable users to do a Bulk Import of Racks into their NetBox environment (either via API or the GUI) using the Rack Type as a template, rather than having to define the parameters manually for each record. This is a particular use case for new environments being managed by NetBox, who may require a large number of Racks to be populated as part of their initial setup.

This would also enable all the Racks created under this method to be linked to a Rack Type which would help improve the consistency of NetBox data for users.

Database changes

No response

External dependencies

No response

@jonzey0 jonzey0 added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Sep 12, 2024
@duckw
Copy link

duckw commented Sep 12, 2024

If this could also be extended to cover the Bulk Edit capability as well, for all the reasons listed above. Happy to log this separately if it is more appropriate.

@jeremystretch jeremystretch added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation complexity: low Requires minimal effort to implement and removed status: needs triage This issue is awaiting triage by a maintainer labels Sep 17, 2024
@jeremystretch jeremystretch added the netbox label Nov 1, 2024 — with Linear
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Dec 9, 2024
@jeremystretch
Copy link
Member

@pl0xym0r could you please comment here so I can assign the FR to you for your PR?

@pl0xym0r
Copy link
Contributor

fix by #18077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: low Requires minimal effort to implement netbox status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants