Add Color to PowerOutletTemplates #11647

Closed
opened 2025-12-29 21:48:03 +01:00 by adam · 4 comments
Owner

Originally created by @blackphantom39 on GitHub (Sep 24, 2025).

Originally assigned to: @blackphantom39 on GitHub.

NetBox version

v4.3.5

Feature type

Data model extension

Proposed functionality

This Issue is to be seen as an extension to Issue #17195 which was implemented with PR 17623. The color field was only added to the PowerOutlet model itself meaning I can only assign colors to already instantiated Objects (i.e. PDUs). As I do not want to assign colors manually after instantiating i.e. a PDU DeviceType, colors should be assignable to the PowerOutletTemplates.

Use case

Lower the amount of manual actions to be performed when documenting i.e. PDUs that have colored outlets.

Database changes

Changes to the DeviceComponent Model for PowerOutlets and adding the corresponding migration to add the color field.

External dependencies

No response

Originally created by @blackphantom39 on GitHub (Sep 24, 2025). Originally assigned to: @blackphantom39 on GitHub. ### NetBox version v4.3.5 ### Feature type Data model extension ### Proposed functionality This Issue is to be seen as an extension to Issue #17195 which was implemented with [PR 17623](https://github.com/netbox-community/netbox/pull/17623). The color field was only added to the `PowerOutlet` model itself meaning I can only assign colors to already instantiated Objects (i.e. PDUs). As I do not want to assign colors manually after instantiating i.e. a PDU DeviceType, colors should be assignable to the PowerOutletTemplates. ### Use case Lower the amount of manual actions to be performed when documenting i.e. PDUs that have colored outlets. ### Database changes Changes to the DeviceComponent Model for PowerOutlets and adding the corresponding migration to add the color field. ### External dependencies _No response_
adam added the status: acceptedtype: featurenetboxcomplexity: low labels 2025-12-29 21:48:03 +01:00
adam closed this issue 2025-12-29 21:48:03 +01:00
Author
Owner

@blackphantom39 commented on GitHub (Sep 29, 2025):

If this gets accepted, I can work on this Issue. As I already submitted a PR unaware of the process outlined in the contribution guide.

@blackphantom39 commented on GitHub (Sep 29, 2025): If this gets accepted, I can work on this Issue. As I already submitted a PR unaware of the process outlined in the contribution guide.
Author
Owner

@jnovinger commented on GitHub (Oct 2, 2025):

Thanks for volunteering, @blackphantom39 . Please make sure the PR targets the feature branch since this will need to be part of v4.5.0.

@jnovinger commented on GitHub (Oct 2, 2025): Thanks for volunteering, @blackphantom39 . Please make sure the PR targets the `feature` branch since this will need to be part of v4.5.0.
Author
Owner

@blackphantom39 commented on GitHub (Oct 10, 2025):

Oh, truly sorry that I also did not see this issue before and created a duplicate. Hopefully everything should be alright with the PR for this now.

@blackphantom39 commented on GitHub (Oct 10, 2025): Oh, truly sorry that I also did not see this issue before and created a duplicate. Hopefully everything should be alright with the PR for this now.
Author
Owner

@jnovinger commented on GitHub (Oct 10, 2025):

Oh, truly sorry that I also did not see this issue before and created a duplicate. Hopefully everything should be alright with the PR for this now.

No worries, we missed it too.

@jnovinger commented on GitHub (Oct 10, 2025): > Oh, truly sorry that I also did not see this issue before and created a duplicate. Hopefully everything should be alright with the PR for this now. No worries, we missed it too.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11647