Add connection_status to nested representation of console/power/interface components #2176

Closed
opened 2025-12-29 17:23:02 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Dec 6, 2018).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.5-beta2

Proposed Functionality

Include the connection_status as a ChoiceField in the nested API representation of connectable device components.

Use Case

This field will likely be needed to display components in certain contexts; for example, when determining whether an interface is connected. There is no additional database overhead for returning this information, as it is stored locally on each object.

Database Changes

None

External Dependencies

None

Originally created by @jeremystretch on GitHub (Dec 6, 2018). ### Environment * Python version: 3.5.2 * NetBox version: 2.5-beta2 ### Proposed Functionality Include the `connection_status` as a ChoiceField in the nested API representation of connectable device components. ### Use Case This field will likely be needed to display components in certain contexts; for example, when determining whether an interface is connected. There is no additional database overhead for returning this information, as it is stored locally on each object. ### Database Changes None ### External Dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 17:23:02 +01:00
adam closed this issue 2025-12-29 17:23:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2176