[PR #3537] [CLOSED] Fixes: #3519 - Disallow(API) connections to virtual & wireless interfaces #12571

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3537
Author: @DanSheps
Created: 9/24/2019
Status: Closed

Base: developHead: fix-wireless-connection-allowed-api


📝 Commits (4)

  • aed144f Fixes: #3519 - Disallow(API) connections to virtual & wireless interfaces
  • d474fa6 Changed to use NONCONNECTABLE_IFACE_TYPES
  • f7d96be Fixed PEP8 errors
  • 81d9f3b Fix PEP8 indenting errors

📊 Changes

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

View changed files

📝 netbox/dcim/models.py (+11 -3)

📄 Description

Fixes: #3519

Added further validation to the model to prevent saves to cable connections that are to virtual or wireless interfaces.


🔄 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/3537 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 9/24/2019 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `fix-wireless-connection-allowed-api` --- ### 📝 Commits (4) - [`aed144f`](https://github.com/netbox-community/netbox/commit/aed144fc1923d4199bf326b2e5d18a0575914914) Fixes: #3519 - Disallow(API) connections to virtual & wireless interfaces - [`d474fa6`](https://github.com/netbox-community/netbox/commit/d474fa6bcf8bbf9a956f83d730fee3c9746f9495) Changed to use NONCONNECTABLE_IFACE_TYPES - [`f7d96be`](https://github.com/netbox-community/netbox/commit/f7d96beffab42750fa3fd11ff845902941baf8f5) Fixed PEP8 errors - [`81d9f3b`](https://github.com/netbox-community/netbox/commit/81d9f3b7b05aa0cf240f2a922a608f8d696011b3) Fix PEP8 indenting errors ### 📊 Changes **1 file changed** (+11 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models.py` (+11 -3) </details> ### 📄 Description ### Fixes: #3519 Added further validation to the model to prevent saves to cable connections that are to virtual or wireless interfaces. --- <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:22:23 +01:00
adam closed this issue 2025-12-29 22:22:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12571