[PR #8780] [CLOSED] Closes #6582: Allow available-ips to specify network bits #13391

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8780
Author: @cpaillet
Created: 3/2/2022
Status: Closed

Base: featureHead: develop


📝 Commits (2)

  • 73e7dda fix swagger param Data of PUT ipam/{}/available-ips
  • 84a1857 Closes #6582: Allow available-ips to specify network bits

📊 Changes

3 files changed (+32 additions, -4 deletions)

View changed files

📝 netbox/ipam/api/serializers.py (+15 -0)
📝 netbox/ipam/api/views.py (+3 -2)
📝 netbox/ipam/tests/test_api.py (+14 -2)

📄 Description

Fixes: #6582

Allow the POST /ipam/prefixes/{id}/available-ips to specify prefix length (for example when I need to create /32's)


🔄 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/8780 **Author:** [@cpaillet](https://github.com/cpaillet) **Created:** 3/2/2022 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `develop` --- ### 📝 Commits (2) - [`73e7dda`](https://github.com/netbox-community/netbox/commit/73e7dda2045282456d66f58f8f658dc6624d9f96) fix swagger param Data of PUT ipam/{}/available-ips - [`84a1857`](https://github.com/netbox-community/netbox/commit/84a1857433e5bc7461f07d575bc49512a547620b) Closes #6582: Allow available-ips to specify network bits ### 📊 Changes **3 files changed** (+32 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/api/serializers.py` (+15 -0) 📝 `netbox/ipam/api/views.py` (+3 -2) 📝 `netbox/ipam/tests/test_api.py` (+14 -2) </details> ### 📄 Description ### Fixes: #6582 Allow the POST /ipam/prefixes/{id}/available-ips to specify prefix length (for example when I need to create /32's) --- <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:27:08 +01:00
adam closed this issue 2025-12-29 22:27:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13391