[PR #10114] [MERGED] Fixes #10109: Fix available prefixes calculation for container prefixes in the global table #13557

Closed
opened 2025-12-29 23:19:33 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10114
Author: @jeremystretch
Created: 8/23/2022
Status: Merged
Merged: 8/23/2022
Merged by: @jeremystretch

Base: developHead: 10109-available-prefixes


📝 Commits (1)

  • 7ba0b42 Fixes #10109: Fix available prefixes calculation for container prefixes in the global table

📊 Changes

2 files changed (+9 additions, -5 deletions)

View changed files

📝 docs/release-notes/version-3.3.md (+1 -0)
📝 netbox/ipam/models/ip.py (+8 -5)

📄 Description

Fixes: #10109

  • Rewrite get_available_prefixes() to find child prefixes without relying on get_child_prefixes() due to the conditional logic it employs

🔄 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/10114 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/23/2022 **Status:** ✅ Merged **Merged:** 8/23/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10109-available-prefixes` --- ### 📝 Commits (1) - [`7ba0b42`](https://github.com/netbox-community/netbox/commit/7ba0b420f181cffac86a9de384a1ec9d8a9a07dd) Fixes #10109: Fix available prefixes calculation for container prefixes in the global table ### 📊 Changes **2 files changed** (+9 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-3.3.md` (+1 -0) 📝 `netbox/ipam/models/ip.py` (+8 -5) </details> ### 📄 Description ### Fixes: #10109 - Rewrite `get_available_prefixes()` to find child prefixes without relying on `get_child_prefixes()` due to the conditional logic it employs --- <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 23:19:33 +01:00
adam closed this issue 2025-12-29 23:19: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#13557