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

Site Prefix List - Bad Indentation #6436

Closed
networkhorse opened this issue May 18, 2021 · 5 comments
Closed

Site Prefix List - Bad Indentation #6436

networkhorse opened this issue May 18, 2021 · 5 comments

Comments

@networkhorse
Copy link

networkhorse commented May 18, 2021

NetBox version

v2.11.3

Python version

3.8

Steps to Reproduce

Create the following structure:
image
image

Assign the deepest prefixes to a site.

Expected Behavior

Hierarchy should be "local", i.e. only relevant to that site's prefixes. It should not show indentation for Netbox as a whole. I expect something like this:
image

Observed Behavior

Prefixes have very misleading indentation, as in the photo below. None of these subnets are related.

image

@networkhorse networkhorse added the type: bug A confirmed report of unexpected behavior in the application label May 18, 2021
@jeremystretch
Copy link
Member

Please update your post above to indicate the specific values for each object being created, so that someone else can try reproducing the reported behavior.

@jeremystretch jeremystretch added the status: revisions needed This issue requires additional information to be actionable label May 18, 2021
@networkhorse
Copy link
Author

Updated @jeremystretch :-)

@jeremystretch
Copy link
Member

This is expected behavior. 1.0.0.0/26 is indented two places because it is situated at a depth of two in the hierarchy. The applied filter has no bearing on the hierarchy; if it did, the hierarchy would become quite useless in myriad circumstances.

@jeremystretch jeremystretch removed status: revisions needed This issue requires additional information to be actionable type: bug A confirmed report of unexpected behavior in the application labels May 18, 2021
@networkhorse
Copy link
Author

networkhorse commented May 18, 2021

@jeremystretch I ask that you reconsider closing this issue because it is highly misleading seeing this

image

There must be a better way of displaying this. Perhaps there is some way of showing the context for the indentation without directly saying "this is related to this site".

@jeremystretch
Copy link
Member

jeremystretch commented May 18, 2021

You're welcome to open a feature request detailing a specific proposal to improve the display, however this in itself is not a bug. Also note that #6087 may effect significant changes in the way the prefix hierarchy is rendered in the near future.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants