Skip to content

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

@Flabenelli

Description

@Flabenelli

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

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions