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.79k stars 2.54k forks source link

Add color to PDU outlets #17195

Open ChrisRecioHive opened 1 month ago

ChrisRecioHive commented 1 month ago

NetBox version

v4.0.9

Feature type

Data model extension

Proposed functionality

Allow PDU power outlets to be assigned a color similarly to keystone and cable colors.

Use case

Some PDU models have colored power outlets. Assigning a color to an outlet could allow for easier identification of plugs. For example, certain PDU models do not have numbered or labeled outlets but are instead identified by color. Another use case would be a quick way to identify different circuits within the PDU.

image

Database changes

No response

External dependencies

No response

goteamkor commented 1 month ago

This is an interesting request, but where in Netbox would the colors be reflected? On what pages or table views would the colors be significant?

ChrisRecioHive commented 1 month ago

This is an interesting request, but where in Netbox would the colors be reflected? On what pages or table views would the colors be significant?

I believe it would be most useful on PDU power outlets table. Below are a couple ideas of how it could be implemented.

image image image

jeremystretch commented 1 month ago

We added color support to front & rear pass-through ports a while back. I assume we would just replicate that functionality for power ports & outlets.