Add field Height (U) in the devices list #11141

Closed
opened 2025-12-29 21:40:54 +01:00 by adam · 2 comments
Owner

Originally created by @Flabenelli on GitHub (May 7, 2025).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v4.1.6

Feature type

Data model extension

Proposed functionality

In the available column list in the devices tab, add height of the device.

Use case

When planning data center migrations, I tag all devices to be moved. Currently, there is no easy way to determine the total rack height (U) required for these tagged devices. I have to manually look up the height for each device type included in the tagged list, which is time-consuming for many servers.

Database changes

ALTER TABLE dcim_device
ADD COLUMN height numeric(5,2) NOT NULL DEFAULT 0.00;

UPDATE dcim_device AS d
SET height = dt.u_height
FROM dcim_devicetype AS dt
WHERE d.device_type_id = dt.id;

External dependencies

none

Originally created by @Flabenelli on GitHub (May 7, 2025). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v4.1.6 ### Feature type Data model extension ### Proposed functionality In the available column list in the devices tab, add height of the device. ### Use case When planning data center migrations, I tag all devices to be moved. Currently, there is no easy way to determine the total rack height (U) required for these tagged devices. I have to manually look up the height for each device type included in the tagged list, which is time-consuming for many servers. ### Database changes ALTER TABLE dcim_device ADD COLUMN height numeric(5,2) NOT NULL DEFAULT 0.00; UPDATE dcim_device AS d SET height = dt.u_height FROM dcim_devicetype AS dt WHERE d.device_type_id = dt.id; ### External dependencies none
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:40:54 +01:00
adam closed this issue 2025-12-29 21:40:54 +01:00
Author
Owner

@arthanson commented on GitHub (May 7, 2025):

This is asking that the device.rack_type.height be a column on the Devices list view.

@arthanson commented on GitHub (May 7, 2025): This is asking that the device.rack_type.height be a column on the Devices list view.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 6, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 6, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11141