[PR #3133] [MERGED] Fixes: #3132: Add circuittermination to the choices API for cable endpoints #12503

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3133
Author: @shanemadden
Created: 5/1/2019
Status: Merged
Merged: 5/2/2019
Merged by: @jeremystretch

Base: developHead: cable_circuit_endpoint_choice


📝 Commits (1)

  • ee4a3bc Add circuittermination as a choice for cable endpoint types, which is not in the choices API for cable termination types but is accepted by the application as a valid endpoint for cables

📊 Changes

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

View changed files

📝 netbox/dcim/constants.py (+1 -1)

📄 Description

Fixes: #3132

Cables can connect to circuit terminations, but the choices API doesn't currently reflect that, showing only DCIM object types as valid for cable:termination_a_type/cable:termination_b_type - this adds circuits.circuittermination as an entry in the choices API.


🔄 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/3133 **Author:** [@shanemadden](https://github.com/shanemadden) **Created:** 5/1/2019 **Status:** ✅ Merged **Merged:** 5/2/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `cable_circuit_endpoint_choice` --- ### 📝 Commits (1) - [`ee4a3bc`](https://github.com/netbox-community/netbox/commit/ee4a3bcb0251b7f3d00dd9e4b001c190e81b0ae2) Add circuittermination as a choice for cable endpoint types, which is not in the choices API for cable termination types but is accepted by the application as a valid endpoint for cables ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/constants.py` (+1 -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: #3132 <!-- Please include a summary of the proposed changes below. --> Cables can connect to circuit terminations, but the choices API doesn't currently reflect that, showing only DCIM object types as valid for `cable:termination_a_type`/`cable:termination_b_type` - this adds `circuits.circuittermination` as an entry in the choices API. --- <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:21:57 +01:00
adam closed this issue 2025-12-29 22:21:57 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12503