-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v.3.2.0
Python version
3.8
Steps to Reproduce
Reproduced in the demo site.
-
Go to IPAM > Prefixes
-
Verify an existing prefix (ex. 10.112.0.0/15)
-
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)
-
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.
-
Create a prefix using address (ex. 24.221.112.0/24)
-
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)
-
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.