Skip to content

Searching IP prefix's/aggregates is inconsistent #9094

@ghost

Description

NetBox version

v.3.2.0

Python version

3.8

Steps to Reproduce

Reproduced in the demo site.

  1. Go to IPAM > Prefixes

  2. Verify an existing prefix (ex. 10.112.0.0/15)

  3. Use either 'quick search' on the prefixes page, or the main search at the top to search for octets contained within this prefix (ex. 10.112)

  4. Search and/or quick search return results related to the 10.112.0.0/15 prefix along with various other prefixes containing 10.112 within the string.

  5. Create a prefix using address (ex. 24.221.112.0/24)

  6. Use either 'quick search' on the prefixes page, or the main search at the top to search for octets contained within this prefix (ex. 24.221)

  7. Search and/or quick search return zero results

Expected Behavior

The Quick Search should actually search within fields of the IP Prefix page. If you have 50 IP prefixes on a page of varying sizes (/19, /20, /24, etc.) you should be able to type 1 or more of the octets of any IP prefix and have the results filtered to display IP prefixes containing your search string.

Observed Behavior

Search and/or quick search return zero results.
Quick search within the IPAM Prefixes page is inconsistent with how Quick Search works in other areas of Netbox.

For instance, if you navigate to the 'contacts' section of netbox and use the quick search on that page it will allow you to string search any field. In the demo sites case, I can type 'dwi' and it will show me Dwight Schrute. If I quick search for 'manager' it will show me both Dwight and Michael Scott who both have 'manager' in their title.

This type of quick and easy filtering and search should be implemented for IPAM.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions