[PR #4606] [MERGED] Fixes #4605: incorrect DeviceConnectionsReport in reports.md #12885

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4606
Author: @weisdd
Created: 5/7/2020
Status: Merged
Merged: 5/11/2020
Merged by: @jeremystretch

Base: developHead: patch-1


📝 Commits (10+)

  • 425670f Merge pull request #3745 from netbox-community/develop
  • 50df3ac Merge pull request #3774 from netbox-community/develop
  • a0ae7a2 Merge pull request #3828 from netbox-community/develop
  • 25c3c1b Merge pull request #3829 from netbox-community/develop
  • 5c07b6d Merge pull request #3837 from netbox-community/develop
  • 9467790 Merge pull request #3908 from netbox-community/develop
  • ea91e09 Merge pull request #3938 from netbox-community/develop
  • 295d4f0 Merge pull request #3946 from netbox-community/develop
  • e13d4ff Merge pull request #3980 from netbox-community/develop
  • 3143f75 Merge pull request #4035 from netbox-community/develop

📊 Changes

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

View changed files

📝 docs/additional-features/reports.md (+2 -3)

📄 Description

Fixes: #4605

Since the CONNECTION_STATUS_PLANNED constant is gone from dcim.constants, the DeviceConnectionsReport script is no longer correct.
The suggested fix is based on the fact that console_port.connection_status and power_port.connection_status currently have the following set of values:

  • None = A cable is not connected to a Console Server Port or it's connected to a Rear/Front Port;
  • False = A cable is connected to a Console Server Port and marked as Planned;
  • True = A cable is connected to a Console Server Port and marked as Installed.

🔄 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/4606 **Author:** [@weisdd](https://github.com/weisdd) **Created:** 5/7/2020 **Status:** ✅ Merged **Merged:** 5/11/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `patch-1` --- ### 📝 Commits (10+) - [`425670f`](https://github.com/netbox-community/netbox/commit/425670f52a203b437cf0770daecb5493a0b54f32) Merge pull request #3745 from netbox-community/develop - [`50df3ac`](https://github.com/netbox-community/netbox/commit/50df3acd266178b598d17955452ad2639d8e7165) Merge pull request #3774 from netbox-community/develop - [`a0ae7a2`](https://github.com/netbox-community/netbox/commit/a0ae7a227d4aebd7527922669b6a86655949da7a) Merge pull request #3828 from netbox-community/develop - [`25c3c1b`](https://github.com/netbox-community/netbox/commit/25c3c1b431b8b24c2a40dbbafce192dffdca84f1) Merge pull request #3829 from netbox-community/develop - [`5c07b6d`](https://github.com/netbox-community/netbox/commit/5c07b6dc1ddac4f1adf9ae703472a09f333de4a3) Merge pull request #3837 from netbox-community/develop - [`9467790`](https://github.com/netbox-community/netbox/commit/946779000fbd1f6677c1152a4e3f5b3a205c0e9b) Merge pull request #3908 from netbox-community/develop - [`ea91e09`](https://github.com/netbox-community/netbox/commit/ea91e09a1b76c1d389270734141623157827ab5f) Merge pull request #3938 from netbox-community/develop - [`295d4f0`](https://github.com/netbox-community/netbox/commit/295d4f0394b431351c0cb2c3ecc791df68c6c2fb) Merge pull request #3946 from netbox-community/develop - [`e13d4ff`](https://github.com/netbox-community/netbox/commit/e13d4ffe607ad73b34d08f1cc3af58af19acb445) Merge pull request #3980 from netbox-community/develop - [`3143f75`](https://github.com/netbox-community/netbox/commit/3143f75a38abf28adffbd47ba2a92e47231f22e8) Merge pull request #4035 from netbox-community/develop ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/additional-features/reports.md` (+2 -3) </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: #4605 Since the CONNECTION_STATUS_PLANNED constant is gone from dcim.constants, the DeviceConnectionsReport script is no longer correct. The suggested fix is based on the fact that console_port.connection_status and power_port.connection_status currently have the following set of values: * None = A cable is not connected to a Console Server Port or it's connected to a Rear/Front Port; * False = A cable is connected to a Console Server Port and marked as Planned; * True = A cable is connected to a Console Server Port and marked as Installed. --- <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:24:11 +01:00
adam closed this issue 2025-12-29 22:24:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12885