[PR #6392] [MERGED] Closes #4609: Mark prefixes as fully utilized #13125

Closed
opened 2025-12-29 22:25:32 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/6392
Author: @jeremystretch
Created: 5/11/2021
Status: Merged
Merged: 5/11/2021
Merged by: @jeremystretch

Base: featureHead: 4609-prefix-mark-utilized


📝 Commits (2)

  • bf56145 Closes #4609: Allow marking prefixes as fully utilized
  • ecf5140 Permit disabling utilization graph warning/danger thresholds

📊 Changes

11 files changed (+114 additions, -57 deletions)

View changed files

📝 docs/release-notes/version-2.12.md (+3 -0)
📝 netbox/ipam/api/serializers.py (+1 -1)
📝 netbox/ipam/filtersets.py (+1 -1)
📝 netbox/ipam/forms.py (+16 -4)
netbox/ipam/migrations/0047_prefix_mark_utilized.py (+16 -0)
📝 netbox/ipam/models/ip.py (+14 -2)
📝 netbox/ipam/tables.py (+22 -3)
📝 netbox/ipam/tests/test_filtersets.py (+8 -2)
📝 netbox/templates/ipam/prefix.html (+11 -5)
📝 netbox/templates/utilities/templatetags/utilization_graph.html (+13 -37)
📝 netbox/utilities/templatetags/helpers.py (+9 -2)

📄 Description

Closes: #4609

  • Adds the mark_utilized boolean field to ipam.Prefix
  • Tweaks the utilization graph to allow disabling warning/danger thresholds

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/6392 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/11/2021 **Status:** ✅ Merged **Merged:** 5/11/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `4609-prefix-mark-utilized` --- ### 📝 Commits (2) - [`bf56145`](https://github.com/netbox-community/netbox/commit/bf56145a093063d3c634601e0b024f14f7ad5e9b) Closes #4609: Allow marking prefixes as fully utilized - [`ecf5140`](https://github.com/netbox-community/netbox/commit/ecf51406c57d27b8bf1ebc290953fb0bb025d47f) Permit disabling utilization graph warning/danger thresholds ### 📊 Changes **11 files changed** (+114 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.12.md` (+3 -0) 📝 `netbox/ipam/api/serializers.py` (+1 -1) 📝 `netbox/ipam/filtersets.py` (+1 -1) 📝 `netbox/ipam/forms.py` (+16 -4) ➕ `netbox/ipam/migrations/0047_prefix_mark_utilized.py` (+16 -0) 📝 `netbox/ipam/models/ip.py` (+14 -2) 📝 `netbox/ipam/tables.py` (+22 -3) 📝 `netbox/ipam/tests/test_filtersets.py` (+8 -2) 📝 `netbox/templates/ipam/prefix.html` (+11 -5) 📝 `netbox/templates/utilities/templatetags/utilization_graph.html` (+13 -37) 📝 `netbox/utilities/templatetags/helpers.py` (+9 -2) </details> ### 📄 Description ### Closes: #4609 - Adds the `mark_utilized` boolean field to ipam.Prefix - Tweaks the utilization graph to allow disabling warning/danger thresholds --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:25:32 +01:00
adam closed this issue 2025-12-29 22:25:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13125