-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Prefix Utilization is Always 0% #1689
Comments
Utilization is counted differently depending on whether the prefix is designated as a container:
Which type of prefix are you looking at? |
I think I see what's happening. Did you create those ten IPs with a mask larger than /27 (e.g. /24)? If so, the |
Yes, the IPs were created with /24, because that's the mask in use by the hosts (the subnetting is just for allocation and organisation). That would make sense as to why they're not detected then. Does the count on the prefix page use the |
@cyberjacob Yes, the count was using |
Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation
Environment
Description
Just noticed this after upgrading to the latest version and adding some new prefixes to subnet an existing prefix. After doing so, the utilization for the new prefixes shows the correct number of IPs, but the percentage is always 0%.
This appears to be caused by the get_utilization() function's IPAddress filter.
Steps to reproduce
The text was updated successfully, but these errors were encountered: