Support for marking module bays and device bays as disabled #11516

Open
opened 2025-12-29 21:46:18 +01:00 by adam · 3 comments
Owner

Originally created by @0lini on GitHub (Aug 21, 2025).

NetBox version

v4.3.6

Feature type

Data model extension

Proposed functionality

Currently, NetBox allows interfaces to be marked as disabled, which helps indicate that they are not available for use. It would be useful to have the same functionality for module and device bays, allowing them to be marked as disabled when they are unavailable, decommissioned, or reserved.

Use case

Devices can have module bays that physically exist, but are disabled in specific circumstances. An example of that is switches that disable ports based on the feature set used.

Database changes

No response

External dependencies

No response

Originally created by @0lini on GitHub (Aug 21, 2025). ### NetBox version v4.3.6 ### Feature type Data model extension ### Proposed functionality Currently, NetBox allows interfaces to be marked as disabled, which helps indicate that they are not available for use. It would be useful to have the same functionality for module and device bays, allowing them to be marked as disabled when they are unavailable, decommissioned, or reserved. ### Use case Devices can have module bays that physically exist, but are disabled in specific circumstances. An example of that is switches that disable ports based on the feature set used. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurenetboxneeds milestonestatus: backlogcomplexity: low labels 2025-12-29 21:46:18 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 28, 2025):

Does it make more sense to introduce a boolean enabled field, or a status choice field with multiple options? Or both?

@jeremystretch commented on GitHub (Aug 28, 2025): Does it make more sense to introduce a boolean `enabled` field, or a `status` choice field with multiple options? Or both?
Author
Owner

@0lini commented on GitHub (Aug 28, 2025):

For my use case, a boolean field would suffice. I can't currently think of a use case that would benefit from a status field, it would just increase complexity.

@0lini commented on GitHub (Aug 28, 2025): For my use case, a boolean field would suffice. I can't currently think of a use case that would benefit from a status field, it would just increase complexity.
Author
Owner

@0lini commented on GitHub (Dec 14, 2025):

I created a working implementation using AI. If it helps, I can create a pull request containing it.

@0lini commented on GitHub (Dec 14, 2025): I created a working implementation using AI. If it helps, I can create a pull request containing it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11516