Allow searching for cables based on termination end #2234

Closed
opened 2025-12-29 17:23:59 +01:00 by adam · 1 comment
Owner

Originally created by @mmahacek on GitHub (Dec 21, 2018).

Environment

  • Python version: 3.6
  • NetBox version: 2.5.1

Proposed Functionality

On the Web UI for looking at cables, you can search by cable name or type. My proposal is to have an additional search box to filter the list of cables based on attached device name.

Use Case

As cables are are new feature, I would like to be able to search the cables for part of a device name to see cables attached to multiple devices that fit the search term. This would allow searching for multiple devices to verify their cabling is consistent.

Database Changes

None

External Dependencies

None

Originally created by @mmahacek on GitHub (Dec 21, 2018). ### Environment * Python version: 3.6 * NetBox version: 2.5.1 <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality On the Web UI for looking at cables, you can search by cable name or type. My proposal is to have an additional search box to filter the list of cables based on attached device name. <!-- Convey an example use case for your proposed feature. Write from the perspective of a NetBox user who would benefit from the proposed functionality and describe how. ---> ### Use Case As cables are are new feature, I would like to be able to search the cables for part of a device name to see cables attached to multiple devices that fit the search term. This would allow searching for multiple devices to verify their cabling is consistent. <!-- Note any changes to the database schema necessary to support the new feature. For example, does the proposal require adding a new model or field? (Not all new features require database changes.) ---> ### Database Changes None <!-- List any new dependencies on external libraries or services that this new feature would introduce. For example, does the proposal require the installation of a new Python package? (Not all new features introduce new dependencies.) --> ### External Dependencies None
adam closed this issue 2025-12-29 17:23:59 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 21, 2018):

Searching across generic foreign key relationships, which are used to represent cable terminations, is not supported. Even if we came up with a hack to make it work, it would be horribly inefficient.

@jeremystretch commented on GitHub (Dec 21, 2018): Searching across generic foreign key relationships, which are used to represent cable terminations, is not supported. Even if we came up with a hack to make it work, it would be horribly inefficient.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2234