[PR #4014] [MERGED] Fixes #3886: Config context cluster (group) #12728

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4014
Author: @hSaria
Created: 1/26/2020
Status: Merged
Merged: 2/3/2020
Merged by: @jeremystretch

Base: developHead: 3886-config-context-cluster


📝 Commits (3)

  • 4abd386 Fixes #3886: Config context cluster (group)
  • 8849f4b Added cluster groups and clusters to serializers
  • bceaa4a Corrected models for cluster and cluster group fields

📊 Changes

9 files changed (+156 additions, -3 deletions)

View changed files

📝 netbox/extras/api/serializers.py (+15 -1)
📝 netbox/extras/filters.py (+17 -0)
📝 netbox/extras/forms.py (+24 -2)
netbox/extras/migrations/0037_configcontexts_clusters.py (+24 -0)
📝 netbox/extras/models.py (+10 -0)
📝 netbox/extras/querysets.py (+6 -0)
📝 netbox/extras/tests/test_filters.py (+30 -0)
📝 netbox/templates/extras/configcontext.html (+28 -0)
📝 netbox/templates/extras/configcontext_edit.html (+2 -0)

📄 Description

Fixes: #3886

Added cluster and cluster group to config context.

I may need to update the migration depending on whether this goes before or after #4013.


🔄 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/4014 **Author:** [@hSaria](https://github.com/hSaria) **Created:** 1/26/2020 **Status:** ✅ Merged **Merged:** 2/3/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `3886-config-context-cluster` --- ### 📝 Commits (3) - [`4abd386`](https://github.com/netbox-community/netbox/commit/4abd3866abe7bcc2d21efd6679b47ceb13793174) Fixes #3886: Config context cluster (group) - [`8849f4b`](https://github.com/netbox-community/netbox/commit/8849f4b0a5db2f53bb8831fe492505bd09bc1388) Added cluster groups and clusters to serializers - [`bceaa4a`](https://github.com/netbox-community/netbox/commit/bceaa4a9a499504c119ed289de74756230d52915) Corrected models for cluster and cluster group fields ### 📊 Changes **9 files changed** (+156 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/serializers.py` (+15 -1) 📝 `netbox/extras/filters.py` (+17 -0) 📝 `netbox/extras/forms.py` (+24 -2) ➕ `netbox/extras/migrations/0037_configcontexts_clusters.py` (+24 -0) 📝 `netbox/extras/models.py` (+10 -0) 📝 `netbox/extras/querysets.py` (+6 -0) 📝 `netbox/extras/tests/test_filters.py` (+30 -0) 📝 `netbox/templates/extras/configcontext.html` (+28 -0) 📝 `netbox/templates/extras/configcontext_edit.html` (+2 -0) </details> ### 📄 Description ### Fixes: #3886 Added cluster and cluster group to config context. > I may need to update the migration depending on whether this goes before or after #4013. --- <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:23:17 +01:00
adam closed this issue 2025-12-29 22:23:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12728