Enable - Interface Description to be serchable #1117

Closed
opened 2025-12-29 16:29:09 +01:00 by adam · 5 comments
Owner

Originally created by @miklasz on GitHub (Jul 19, 2017).

how bad would be to add Interface Description to all object search?

Many thanks

Bartosz

Originally created by @miklasz on GitHub (Jul 19, 2017). how bad would be to add Interface Description to all object search? Many thanks Bartosz <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> <!-- If filing a bug, please indicate the version of Python and NetBox you are running. (This is not necessary for feature requests.) --> <!-- If filing a bug, please record the exact steps taken to reproduce the bug and any errors messages that are generated. If filing a feature request, please precisely describe the data model or workflow you would like to see implemented, and provide a use case. -->
adam closed this issue 2025-12-29 16:29:09 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 19, 2017):

In what context? We could add it to the API filter, but adding it to the general device search would probably return too many results. For example, searching for "core" in devices would also return all devices with an interface named "Uplink to core."

@jeremystretch commented on GitHub (Jul 19, 2017): In what context? We could add it to the API filter, but adding it to the general device search would probably return too many results. For example, searching for "core" in devices would also return all devices with an interface named "Uplink to core."
Author
Owner

@miklasz commented on GitHub (Jul 19, 2017):

I was thinking to use it for cable labels, I know you are working on the big project #20, I also know it will gonna take some time on this one, so mean time i was thinking to add description of the cable id on both sides of interfaces, so when i go to rack in our dc and type cable id i am trying to find both ends i can search and get both side of the cable

For example:
I have patch panel interface MMR1/B1/C1/P1 and Interface description of this port/interface: DC-01234
then I have device rt0.sal01.dc with port xe-2/0/1 and same interface description: DC-01234

so when i type in search DC-01234 it should return both ports or devices

is it something easy possible to do ?

we use pretty unique names for cables so search should only return interfaces to searched description ?

Many thanks Jeremy, really appreciate your work, netbox is a great software.

@miklasz commented on GitHub (Jul 19, 2017): I was thinking to use it for cable labels, I know you are working on the big project #20, I also know it will gonna take some time on this one, so mean time i was thinking to add description of the cable id on both sides of interfaces, so when i go to rack in our dc and type cable id i am trying to find both ends i can search and get both side of the cable For example: I have patch panel interface MMR1/B1/C1/P1 and Interface description of this port/interface: DC-01234 then I have device rt0.sal01.dc with port xe-2/0/1 and same interface description: DC-01234 so when i type in search DC-01234 it should return both ports or devices is it something easy possible to do ? we use pretty unique names for cables so search should only return interfaces to searched description ? Many thanks Jeremy, really appreciate your work, netbox is a great software.
Author
Owner

@jeremystretch commented on GitHub (Jul 19, 2017):

The interface description field is intended to hold the description configured on the device. I recommend against trying to repurpose it.

@jeremystretch commented on GitHub (Jul 19, 2017): The interface description field is intended to hold the description configured on the device. I recommend against trying to repurpose it.
Author
Owner

@miklasz commented on GitHub (Jul 20, 2017):

ok, thank you for advise, i guess I will wait for update with patch panels, can I ask how far is the work on #20 ? maybe possible approximate eta guess ?

many thanks

Bartosz

@miklasz commented on GitHub (Jul 20, 2017): ok, thank you for advise, i guess I will wait for update with patch panels, can I ask how far is the work on #20 ? maybe possible approximate eta guess ? many thanks Bartosz
Author
Owner

@jeremystretch commented on GitHub (Jul 24, 2017):

All work on #20 is being tracked in the issue. I am unable to provide an ETA on any feature.

@jeremystretch commented on GitHub (Jul 24, 2017): All work on #20 is being tracked in the issue. I am unable to provide an ETA on any feature.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1117