netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.77k stars 2.54k forks source link

Import Device/Module Weight #11670

Closed danner26 closed 1 year ago

danner26 commented 1 year ago

NetBox version

v3.4.4

Feature type

Change to existing functionality

Proposed functionality

Since we already have weight as an option, we now need to add the ability to import weight data via the CSV/YAML/JSON import. Module Types and Device Types currently do not have weight as an option to import.

NetBox devicetype-library currently has this implemented using weight value and unit. We can modify the devicetype-library if needed to support this import functionality.

Use case

Adding weight to an object is currently supported in the single import option, but not within the bulk import.

Database changes

No response

External dependencies

No response

dhenschen commented 1 year ago

I noticed that this issue is currently marked as "needs owner" and I would like to volunteer to take ownership of it. This is my first contribution to Netbox, but I am eager to learn and contribute to the project.

jeremystretch commented 1 year ago

Thanks @dhenschen!