[PR #19226] [CLOSED] Fixes #19134: Interfaces TX power allows negative value #15572

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19226
Author: @yzguy
Created: 4/17/2025
Status: Closed

Base: mainHead: 19134-negative-tx-power


📝 Commits (1)

  • 29dd8c0 Fixes #19134: Interfaces TX power allows negative value

📊 Changes

6 files changed (+34 additions, -7 deletions)

View changed files

📝 netbox/dcim/forms/filtersets.py (+1 -1)
netbox/dcim/migrations/0201_alter_interface_tx_power.py (+21 -0)
📝 netbox/dcim/models/device_components.py (+5 -2)
📝 netbox/dcim/tests/test_api.py (+1 -1)
📝 netbox/dcim/tests/test_filtersets.py (+5 -2)
📝 netbox/dcim/tests/test_views.py (+1 -1)

📄 Description

Fixes: #19134

Adjust the validations for interfaces TX power to allow negative values


🔄 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/19226 **Author:** [@yzguy](https://github.com/yzguy) **Created:** 4/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `19134-negative-tx-power` --- ### 📝 Commits (1) - [`29dd8c0`](https://github.com/netbox-community/netbox/commit/29dd8c0dd4d8eb25300c97f139dcd3244acec104) Fixes #19134: Interfaces TX power allows negative value ### 📊 Changes **6 files changed** (+34 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/filtersets.py` (+1 -1) ➕ `netbox/dcim/migrations/0201_alter_interface_tx_power.py` (+21 -0) 📝 `netbox/dcim/models/device_components.py` (+5 -2) 📝 `netbox/dcim/tests/test_api.py` (+1 -1) 📝 `netbox/dcim/tests/test_filtersets.py` (+5 -2) 📝 `netbox/dcim/tests/test_views.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 approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #19134 <!-- Please include a summary of the proposed changes below. --> Adjust the validations for interfaces TX power to allow negative values --- <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-30 00:22:47 +01:00
adam closed this issue 2025-12-30 00:22:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15572