-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
type: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation
Environment
- Python version: 3.5.3
- NetBox version: 2.2.4
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
- Create a Prefix
- Add IPs to the prefix
- Subnet the prefix by adding a child prefix. The prefix correctly identifies the IPs already added, and shows them in the list and utilization count, but not the percentage.
Metadata
Metadata
Assignees
Labels
type: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application