[PR #19485] [MERGED] Fixes: #19475 - VM Interface VLAN availibility when cluster and VLAN group scope is dcim.location #15662

Closed
opened 2025-12-30 00:23:17 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19485
Author: @Omripresent
Created: 5/14/2025
Status: Merged
Merged: 5/22/2025
Merged by: @bctiemann

Base: mainHead: main


📝 Commits (2)

  • 0d29e57 Update get_for_virtualmachine to support lookup by cluster location
  • be07f22 Merge branch 'netbox-community:main' into main

📊 Changes

2 files changed (+40 additions, -8 deletions)

View changed files

📝 netbox/ipam/querysets.py (+25 -1)
📝 netbox/ipam/tests/test_filtersets.py (+15 -7)

📄 Description

Fixes: #19475 - VM Interface VLAN availibility when cluster and VLAN group scope is dcim.location

scope
Update test case to include location scoped cluster

Updated get_for_virtualmachine lookup to include cluster location scope and above
Updated relevant test case to include location scope cluster and VM


🔄 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/19485 **Author:** [@Omripresent](https://github.com/Omripresent) **Created:** 5/14/2025 **Status:** ✅ Merged **Merged:** 5/22/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`0d29e57`](https://github.com/netbox-community/netbox/commit/0d29e5776c54fa0d447d6012810545cd25f429b9) Update get_for_virtualmachine to support lookup by cluster location - [`be07f22`](https://github.com/netbox-community/netbox/commit/be07f222f61b3100fcf433f76c3c90a64fe5b286) Merge branch 'netbox-community:main' into main ### 📊 Changes **2 files changed** (+40 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/querysets.py` (+25 -1) 📝 `netbox/ipam/tests/test_filtersets.py` (+15 -7) </details> ### 📄 Description ### Fixes: #19475 - VM Interface VLAN availibility when cluster and VLAN group scope is dcim.location scope Update test case to include location scoped cluster Updated `get_for_virtualmachine` lookup to include cluster location scope and above Updated relevant test case to include location scope cluster and VM <!-- Please include a summary of the proposed changes below. --> --- <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-30 00:23:17 +01:00
adam closed this issue 2025-12-30 00:23:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15662