Skip to content

Commit eb4b4a6

Browse files
committed
Closes #7561: Add a utilization column to the IP ranges table
1 parent 39430e0 commit eb4b4a6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/release-notes/version-3.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## v3.0.8 (FUTURE)
44

5+
### Enhancements
6+
7+
* [#7561](https://github.com/netbox-community/netbox/issues/7561) - Add a utilization column to the IP ranges table
8+
59
### Bug Fixes
610

711
* [#7300](https://github.com/netbox-community/netbox/issues/7300) - Fix incorrect Device LLDP interface row coloring

netbox/ipam/tables/ip.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,16 @@ class IPRangeTable(BaseTable):
260260
linkify=True
261261
)
262262
tenant = TenantColumn()
263+
utilization = UtilizationColumn(
264+
accessor='utilization',
265+
orderable=False
266+
)
263267

264268
class Meta(BaseTable.Meta):
265269
model = IPRange
266270
fields = (
267271
'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description',
272+
'utilization',
268273
)
269274
default_columns = (
270275
'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description',

0 commit comments

Comments
 (0)