From 4f95926cbd956c070dad61be05bcf8afebd40aad Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 8 Jun 2017 12:48:49 -0400 Subject: [PATCH] Added utilization percetange to aggregate and prefix views --- netbox/templates/ipam/aggregate.html | 6 ++++++ netbox/templates/ipam/prefix.html | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/netbox/templates/ipam/aggregate.html b/netbox/templates/ipam/aggregate.html index bd5801f0e..82961d3bf 100644 --- a/netbox/templates/ipam/aggregate.html +++ b/netbox/templates/ipam/aggregate.html @@ -57,6 +57,12 @@ {{ aggregate.rir }} + + Utilization + + {{ aggregate.get_utilization }}% + + Date Added diff --git a/netbox/templates/ipam/prefix.html b/netbox/templates/ipam/prefix.html index b2b996fce..23a996d82 100644 --- a/netbox/templates/ipam/prefix.html +++ b/netbox/templates/ipam/prefix.html @@ -121,8 +121,8 @@ - IP Addresses - {{ ipaddress_count }} + Utilization + {{ ipaddress_count }} IP addresses ({{ prefix.get_utilization }}%)