[PR #10442] [MERGED] 10435 check if vm.cluster in qs #13633

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10442
Author: @arthanson
Created: 9/22/2022
Status: Merged
Merged: 9/26/2022
Merged by: @jeremystretch

Base: developHead: 10435-untagged-vlan


📝 Commits (2)

  • 7735634 10435 check if vm.cluster in qs
  • 3ad337d Filter VLANs and VLANGroups by site or cluster site for VM

📊 Changes

1 file changed (+24 additions, -20 deletions)

View changed files

📝 netbox/ipam/querysets.py (+24 -20)

📄 Description

Fixes: #10435

@jeremystretch This fixes the issues but not sure if this is the correct fix - this will return all VLANs if there is no cluster defined, not sure if there should be some separate checks for site?


🔄 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/10442 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 9/22/2022 **Status:** ✅ Merged **Merged:** 9/26/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10435-untagged-vlan` --- ### 📝 Commits (2) - [`7735634`](https://github.com/netbox-community/netbox/commit/7735634649933e1c64d410a4fbc69f6bc8c975e6) 10435 check if vm.cluster in qs - [`3ad337d`](https://github.com/netbox-community/netbox/commit/3ad337dd15b569a644e7f0a1a22fed4970ccf295) Filter VLANs and VLANGroups by site or cluster site for VM ### 📊 Changes **1 file changed** (+24 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/querysets.py` (+24 -20) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WE BE CLOSED AUTOMATICALLY. Specify your assigned issue number on the line below. --> ### Fixes: #10435 <!-- Please include a summary of the proposed changes below. --> @jeremystretch This fixes the issues but not sure if this is the correct fix - this will return all VLANs if there is no cluster defined, not sure if there should be some separate checks for site? --- <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:58 +01:00
adam closed this issue 2025-12-29 23:19:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13633