Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search for prefixes does not find all prefixes #495

Closed
evdzande opened this issue May 27, 2021 · 2 comments · Fixed by #666
Closed

search for prefixes does not find all prefixes #495

evdzande opened this issue May 27, 2021 · 2 comments · Fixed by #666
Assignees
Labels
type: bug Something isn't working as expected

Comments

@evdzande
Copy link
Contributor

Environment

  • Python version: 3.7.3
  • Nautobot version: 1.0.1

Steps to Reproduce

  1. create a couple of prefixes under 100.64.0.0/10. i.e.: 100.64.8.0/21, 100.64.16.0/30, 100.64.16.4/30, 100.64.16.8/30, etc.
  2. search for "100.64" or "100.64." these prefixes in global search or the search box under IPAM > Prefixes

Expected Behavior

All prefixes starting with "100.64" should be shown

Observed Behavior

Only prefix 100.64.0.0/10 is shown.
IP adresses within these prefixes are shown, the prefixes associated with the IP adresses are not.
If you go to IPAM > Prefixes and fill in the field "Search within" 100.64.0.0/10 then all prefixes are shown.

@evdzande
Copy link
Contributor Author

also reproducable on https://demo.nautobot.com.
Search for 10.0 in the top right search box or under the All Objects search box.
Only 10.0.0.0/8, 10.0.0.0/16, 10.0.0.0/18 and 10.0.0.0/24 are shown. With these results you think those are the only subnets registered in the system but in reality there are many more 10.0.0.0 subnets registered on the https://demo.nautobot.com site.

@glennmatthews
Copy link
Contributor

Thanks for the report! This is probably a consequence of #78 - at the time I believe we'd accepted the loss of this "partial address search" functionality as a necessary evil, but with subsequent refinements (especially #246) I think it might in fact be possible for us to restore this functionality. We'll look into it.

@glennmatthews glennmatthews added the type: bug Something isn't working as expected label May 28, 2021
@jathanism jathanism self-assigned this Jul 9, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants