[PR #4012] [MERGED] Fixes #3338: Added termination A and Z to the circuit #12726

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/4012
Author: @hSaria
Created: 1/25/2020
Status: Merged
Merged: 1/27/2020
Merged by: @jeremystretch

Base: developHead: 3338-api-circuit-term


📝 Commits (1)

  • d0f127e Fixes #3338: Added termination A and Z to the circuit

📊 Changes

2 files changed (+18 additions, -4 deletions)

View changed files

📝 netbox/circuits/api/serializers.py (+15 -3)
📝 netbox/circuits/api/views.py (+3 -1)

📄 Description

Fixes: #3338

Added termination A and Z to the circuit API (i.e. /api/circuits/circuits).

Removed the circuit and term_side from NestedCircuitTerminationSerializer because they're redundant.

Added site, connected_endpoint, port_speed, upstream_speed, and xconnect_id as they seem relevant, though I've not preference on that front.

NestedCircuitTerminationSerializer was never used before, so it won't be breaking any existing functionality.


🔄 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/4012 **Author:** [@hSaria](https://github.com/hSaria) **Created:** 1/25/2020 **Status:** ✅ Merged **Merged:** 1/27/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `3338-api-circuit-term` --- ### 📝 Commits (1) - [`d0f127e`](https://github.com/netbox-community/netbox/commit/d0f127e575ad7a7840a459d4a670545fde3afbe0) Fixes #3338: Added termination A and Z to the circuit ### 📊 Changes **2 files changed** (+18 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/api/serializers.py` (+15 -3) 📝 `netbox/circuits/api/views.py` (+3 -1) </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 opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #3338 <ISSUE NUMBER GOES HERE> Added termination A and Z to the circuit API (i.e. `/api/circuits/circuits`). Removed the `circuit` and `term_side` from `NestedCircuitTerminationSerializer` because they're redundant. Added `site`, `connected_endpoint`, `port_speed`, `upstream_speed`, and `xconnect_id` as they seem relevant, though I've not preference on that front. > `NestedCircuitTerminationSerializer` was never used before, so it won't be breaking any existing functionality. --- <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: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#12726