[PR #6011] [MERGED] Closes #5986: Introduce the cloud model #13084

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/6011
Author: @jeremystretch
Created: 3/18/2021
Status: Merged
Merged: 3/18/2021
Merged by: @jeremystretch

Base: featureHead: 5986-cloud-model


📝 Commits (8)

  • 6ff8a26 Introduce the Cloud model
  • 574a43f Enable attaching circuit terminations to clouds
  • 872e936 Add termination FKs on Circuit model
  • 2e97bf4 Include circuits list on cloud view
  • d45a172 Add circuit cloud filters & tests
  • 89c487d Documentation and changelog for #5986
  • d45edcd Linkify circuit terminations in table
  • b6f6293 Prevent the attachment of a Cable to a CircuitTermination on a Cloud

📊 Changes

28 files changed (+893 additions, -153 deletions)

View changed files

📝 docs/core-functionality/circuits.md (+1 -0)
📝 docs/models/circuits/circuittermination.md (+3 -3)
docs/models/circuits/cloud.md (+5 -0)
📝 docs/release-notes/version-2.11.md (+8 -0)
📝 netbox/circuits/api/nested_serializers.py (+14 -1)
📝 netbox/circuits/api/serializers.py (+25 -7)
📝 netbox/circuits/api/urls.py (+3 -0)
📝 netbox/circuits/api/views.py (+12 -3)
📝 netbox/circuits/filters.py (+41 -1)
📝 netbox/circuits/forms.py (+100 -4)
netbox/circuits/migrations/0027_cloud.py (+65 -0)
netbox/circuits/migrations/0028_cache_circuit_terminations.py (+37 -0)
📝 netbox/circuits/models.py (+101 -18)
netbox/circuits/querysets.py (+0 -17)
📝 netbox/circuits/signals.py (+8 -8)
📝 netbox/circuits/tables.py (+34 -8)
📝 netbox/circuits/tests/test_api.py (+41 -1)
📝 netbox/circuits/tests/test_filters.py (+80 -10)
📝 netbox/circuits/tests/test_views.py (+43 -1)
📝 netbox/circuits/urls.py (+13 -1)

...and 8 more files

📄 Description

Closes: #5986

  • Introduces the circuits.Cloud model
  • Adds the cloud ForeignKey field to CircuitTermination
  • Adds the termination_a and termination_z FKs on Circuit to cache terminations

🔄 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/6011 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/18/2021 **Status:** ✅ Merged **Merged:** 3/18/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `5986-cloud-model` --- ### 📝 Commits (8) - [`6ff8a26`](https://github.com/netbox-community/netbox/commit/6ff8a267e9305d67a2d08a9383f7c0fdd672424d) Introduce the Cloud model - [`574a43f`](https://github.com/netbox-community/netbox/commit/574a43fff77a0ef104e1ac4b3e1b2872050a3b69) Enable attaching circuit terminations to clouds - [`872e936`](https://github.com/netbox-community/netbox/commit/872e936924bae39e6316c1b106697cd63b58fe74) Add termination FKs on Circuit model - [`2e97bf4`](https://github.com/netbox-community/netbox/commit/2e97bf48c5ef46f78f19c200b933b55d330bab41) Include circuits list on cloud view - [`d45a172`](https://github.com/netbox-community/netbox/commit/d45a17247d2b6435e3c6635c67f44fc570db0aae) Add circuit cloud filters & tests - [`89c487d`](https://github.com/netbox-community/netbox/commit/89c487de65df47e9484caed7fc11ebbea64eeb13) Documentation and changelog for #5986 - [`d45edcd`](https://github.com/netbox-community/netbox/commit/d45edcd216b81cce9fb37a12f9d80b71973b2358) Linkify circuit terminations in table - [`b6f6293`](https://github.com/netbox-community/netbox/commit/b6f6293b7631030b7dbc9b68ebfeb9f7c5af1de4) Prevent the attachment of a Cable to a CircuitTermination on a Cloud ### 📊 Changes **28 files changed** (+893 additions, -153 deletions) <details> <summary>View changed files</summary> 📝 `docs/core-functionality/circuits.md` (+1 -0) 📝 `docs/models/circuits/circuittermination.md` (+3 -3) ➕ `docs/models/circuits/cloud.md` (+5 -0) 📝 `docs/release-notes/version-2.11.md` (+8 -0) 📝 `netbox/circuits/api/nested_serializers.py` (+14 -1) 📝 `netbox/circuits/api/serializers.py` (+25 -7) 📝 `netbox/circuits/api/urls.py` (+3 -0) 📝 `netbox/circuits/api/views.py` (+12 -3) 📝 `netbox/circuits/filters.py` (+41 -1) 📝 `netbox/circuits/forms.py` (+100 -4) ➕ `netbox/circuits/migrations/0027_cloud.py` (+65 -0) ➕ `netbox/circuits/migrations/0028_cache_circuit_terminations.py` (+37 -0) 📝 `netbox/circuits/models.py` (+101 -18) ➖ `netbox/circuits/querysets.py` (+0 -17) 📝 `netbox/circuits/signals.py` (+8 -8) 📝 `netbox/circuits/tables.py` (+34 -8) 📝 `netbox/circuits/tests/test_api.py` (+41 -1) 📝 `netbox/circuits/tests/test_filters.py` (+80 -10) 📝 `netbox/circuits/tests/test_views.py` (+43 -1) 📝 `netbox/circuits/urls.py` (+13 -1) _...and 8 more files_ </details> ### 📄 Description ### Closes: #5986 - Introduces the circuits.Cloud model - Adds the `cloud` ForeignKey field to CircuitTermination - Adds the `termination_a` and `termination_z` FKs on Circuit to cache terminations --- <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:25:18 +01:00
adam closed this issue 2025-12-29 22:25:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13084