Search also by description field when assigning addresses #2468

Closed
opened 2025-12-29 18:19:07 +01:00 by adam · 0 comments
Owner

Originally created by @habalux on GitHub (Mar 15, 2019).

Environment

  • Python version: 3.6.5
  • NetBox version: 2.5.8

Proposed Functionality

Hello, I have a small usability proposal I've been thinking about.

Occasionally, if an IP address is allocated before assigning it to a device, it would be slightly easier to locate afterwards if the search form in "Assign an IP address" page also filtered by the address description field.

This is a small change to the Django filter and does not break existing use cases. Ready to submit a PR if deemed worthy.

Use Case

  1. Reserve IP address for future use and document the name/usage/etc. in the description field
  2. Some time passes and the previously reserved numerical address is no longer fresh in your memory
  3. Create a device which will be using the previously reserved address and start adding addresses using the Assign an IP Address page.
  4. Enter part of the description in the search field and the address will show up without having to remember it numerically.

Previously one would have to first search for the address separately, take note of it and then return to the "Assign an IP address" page or switch between browser tabs, disrupting the workflow.

Database Changes

External Dependencies

Originally created by @habalux on GitHub (Mar 15, 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.5 * NetBox version: 2.5.8 <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality Hello, I have a small usability proposal I've been thinking about. Occasionally, if an IP address is allocated before assigning it to a device, it would be slightly easier to locate afterwards if the search form in "Assign an IP address" page also filtered by the address description field. This is a small change to the Django filter and does not break existing use cases. Ready to submit a PR if deemed worthy. ### Use Case 1. Reserve IP address for future use and document the name/usage/etc. in the description field 2. Some time passes and the previously reserved numerical address is no longer fresh in your memory 3. Create a device which will be using the previously reserved address and start adding addresses using the Assign an IP Address page. 4. Enter part of the description in the search field and the address will show up without having to remember it numerically. Previously one would have to first search for the address separately, take note of it and then return to the "Assign an IP address" page or switch between browser tabs, disrupting the workflow. ### Database Changes ### External Dependencies
adam added the status: acceptedtype: feature labels 2025-12-29 18:19:07 +01:00
adam closed this issue 2025-12-29 18:19:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2468