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

unexpected results when using quick filter of aggregates=>prefixes #17701

Open
chatasos opened this issue Oct 8, 2024 · 1 comment
Open

unexpected results when using quick filter of aggregates=>prefixes #17701

chatasos opened this issue Oct 8, 2024 · 1 comment
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@chatasos
Copy link

chatasos commented Oct 8, 2024

Deployment Type

Self-hosted

NetBox Version

v4.1.3

Python Version

3.10

Steps to Reproduce

  1. Create an aggregate of 172.16.0.0/12 and import the attached csv files into prefixes.
  2. Go to the aggregates and select the 172.16.0.0/12
  3. Go to prefixes tab and enter "/16" (without quotes) in the quick filter

PS: I replicated this behavior in the demo instance too.
netbox_prefixes.csv
netbox_prefixes2.csv

Expected Behavior

To have the /16 prefixes being returned.

Observed Behavior

A lot of prefixes are returned, without any obvious relationship to the original query.

Also, many of them show as available, while this is not true.

image

@chatasos chatasos added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Oct 8, 2024
@chatasos
Copy link
Author

chatasos commented Oct 8, 2024

This happens only with specific search queries.
for example:
/15, /17, /18, /19 return nothing.
/16, /20 return something.

@arthanson arthanson added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation severity: low Does not significantly disrupt application functionality, or a workaround is available and removed status: needs triage This issue is awaiting triage by a maintainer labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants