Ability to remove all cables in cable trace except cables between rear ports #2618

Closed
opened 2025-12-29 18:20:27 +01:00 by adam · 2 comments
Owner

Originally created by @louis-6wind on GitHub (May 16, 2019).

Environment

  • Python version: 3.6.6
  • NetBox version: 2.5.12

Proposed Functionality

I would have the ability in GUI to remove all cables (as seen in cable trace) except cables between rear ports :
- addition of a button to do so beside cable remove in device interface view. To remove cable starting from the interface
- when deleting a device, add the suggestion to remove all cable starting from their interfaces

Originally created by @louis-6wind on GitHub (May 16, 2019). <!-- NOTE: This form is only for proposing specific new features or enhancements. If you have a general idea or question, please post to our mailing list instead of opening an issue: https://groups.google.com/forum/#!forum/netbox-discuss NOTE: Due to an excessive backlog of feature requests, we are not currently accepting any proposals which significantly extend NetBox's feature scope. Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: 3.6.6 * NetBox version: 2.5.12 <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality I would have the ability in GUI to remove all cables (as seen in cable trace) except cables between rear ports : - addition of a button to do so beside cable remove in device interface view. To remove cable starting from the interface - when deleting a device, add the suggestion to remove all cable starting from their interfaces
adam closed this issue 2025-12-29 18:20:27 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 17, 2019):

The logic needed to support this would be unduly cumbersome to maintain, not to mention extremely prone to user error.

when deleting a device, add the suggestion to remove all cable starting from their interfaces

Connected cables are automatically deleted when a device is deleted.

@jeremystretch commented on GitHub (May 17, 2019): The logic needed to support this would be unduly cumbersome to maintain, not to mention extremely prone to user error. > when deleting a device, add the suggestion to remove all cable starting from their interfaces Connected cables are automatically deleted when a device is deleted.
Author
Owner

@louis-6wind commented on GitHub (May 17, 2019):

I have made a script to do so but it would have been appreciated to have this feature

not to mention extremely prone to user error.

Why not put a user confirmation in which user see all the cables that are being to be deleted ?

Connected cables are automatically deleted when a device is deleted.

I meant all the cables up to connected devices. Only connected cables are deleted but if patchpanel (with front port and rear port) is used in the cable path, cables connected to remote device won't be deleted

@louis-6wind commented on GitHub (May 17, 2019): I have made a script to do so but it would have been appreciated to have this feature > not to mention extremely prone to user error. Why not put a user confirmation in which user see all the cables that are being to be deleted ? > Connected cables are automatically deleted when a device is deleted. I meant all the cables up to connected devices. Only connected cables are deleted but if patchpanel (with front port and rear port) is used in the cable path, cables connected to remote device won't be deleted
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2618