Filter cables by connected device #2478

Closed
opened 2025-12-29 18:19:12 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Mar 22, 2019).

Environment

  • Python version: 3.5.6
  • NetBox version: 2.5.8

Proposed Functionality

Extend the Cable filter set to allow filtering by the connected parent object at either end. For example: /api/dcim/cables/?connected_device=switch42.

Use Case

This would allow an operator to easily return a list of all cables connected to a device.

Database Changes

N/A

External Dependencies

N/A

Originally created by @jeremystretch on GitHub (Mar 22, 2019). ### Environment * Python version: 3.5.6 * NetBox version: 2.5.8 ### Proposed Functionality Extend the Cable filter set to allow filtering by the connected parent object at either end. For example: `/api/dcim/cables/?connected_device=switch42`. ### Use Case This would allow an operator to easily return a list of all cables connected to a device. ### Database Changes N/A ### External Dependencies N/A
adam added the status: acceptedtype: feature labels 2025-12-29 18:19:13 +01:00
adam closed this issue 2025-12-29 18:19:13 +01:00
Author
Owner

@jbakklund commented on GitHub (Apr 8, 2019):

I have been thinking about suggesting a filter allowing the return of a list of all cables connected at a spesific site, rack, or device - adding two more options to your Use Case description, but I am not sure whether or not this justifies adding two more feature requests or expanding this one?

@jbakklund commented on GitHub (Apr 8, 2019): I have been thinking about suggesting a filter allowing the return of a list of all cables connected at a spesific site, rack, or device - adding two more options to your Use Case description, but I am not sure whether or not this justifies adding two more feature requests or expanding this one?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2478