Aggregate utilization should consider a prefix of type "container"'s utilization in the calculation instead of assuming 100% #7633

Closed
opened 2025-12-29 20:26:18 +01:00 by adam · 1 comment
Owner

Originally created by @BrunoBlanes on GitHub (Feb 11, 2023).

NetBox version

v3.4.4

Python version

3.8

Steps to Reproduce

  1. Create an aggregate of subnet mask /23 or higher
  2. Create prefixes with subnet mask /24 and set them as containers

Expected Behavior

Expected aggregate utilization to be based on prefixes created, except when using containers, in which case utilization should take into consideration the container's utiliation.

Observed Behavior

Aggregate utilization goes to 100%.

Originally created by @BrunoBlanes on GitHub (Feb 11, 2023). ### NetBox version v3.4.4 ### Python version 3.8 ### Steps to Reproduce 1. Create an aggregate of subnet mask /23 or higher 2. Create prefixes with subnet mask /24 and set them as containers ### Expected Behavior Expected aggregate utilization to be based on prefixes created, except when using containers, in which case utilization should take into consideration the container's utiliation. ### Observed Behavior Aggregate utilization goes to 100%.
adam closed this issue 2025-12-29 20:26:18 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 11, 2023):

This is expected behavior. If you would like to propose a change, please submit a feature request citing your use case.

@jeremystretch commented on GitHub (Feb 11, 2023): This is expected behavior. If you would like to propose a change, please submit a [feature request](https://github.com/netbox-community/netbox/issues/new?assignees=&labels=type%3A+feature&template=feature_request.yaml) citing your use case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7633