[PR #15076] [CLOSED] 15075: Adds "Maintenance" status to devices #14516

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15076
Author: @aaron-iles
Created: 2/7/2024
Status: Closed

Base: developHead: 15075-maintenance-mode


📝 Commits (10+)

  • 2fe3c70 4283: adds maintenance mode to device status, adds unit tests
  • df86d02 4283: fixing indentation
  • ef20173 4283: fixing indentation
  • 1cf19f4 4283: fixing spacing
  • e5f98e7 4283: fixing wrong query type in test
  • 414d355 4283: fixing wrong query type in test
  • 5908ecb 4283: fixing indentation
  • 22a0546 4283: fixing unit tests
  • 1760cb5 4283: fixing unit tests
  • 2046107 15075: adds maintenance mode to device status, adds unit tests

📊 Changes

4 files changed (+170 additions, -31 deletions)

View changed files

📝 netbox/dcim/choices.py (+2 -0)
📝 netbox/dcim/tests/test_filtersets.py (+54 -14)
📝 netbox/dcim/tests/test_forms.py (+17 -0)
📝 netbox/utilities/tests/test_filters.py (+97 -17)

📄 Description

Fixes: #15075

Summary

This PR adds "Maintenance" as a status to devices. This also updates unit tests.


🔄 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/15076 **Author:** [@aaron-iles](https://github.com/aaron-iles) **Created:** 2/7/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `15075-maintenance-mode` --- ### 📝 Commits (10+) - [`2fe3c70`](https://github.com/netbox-community/netbox/commit/2fe3c7035a93624914bca12f23212fe26c7a25b6) 4283: adds maintenance mode to device status, adds unit tests - [`df86d02`](https://github.com/netbox-community/netbox/commit/df86d02dd692a83c533b2dc06c158165f1ca83cb) 4283: fixing indentation - [`ef20173`](https://github.com/netbox-community/netbox/commit/ef201733c9848ac0a8713b76781d9f3254c83156) 4283: fixing indentation - [`1cf19f4`](https://github.com/netbox-community/netbox/commit/1cf19f4b8f4b6305001e8a01fe0db54ea785089d) 4283: fixing spacing - [`e5f98e7`](https://github.com/netbox-community/netbox/commit/e5f98e720812e27e100cb5cfb380e05f99465b60) 4283: fixing wrong query type in test - [`414d355`](https://github.com/netbox-community/netbox/commit/414d355fb2df135d083815ea79330699a90feb56) 4283: fixing wrong query type in test - [`5908ecb`](https://github.com/netbox-community/netbox/commit/5908ecbc293b80c4a17568627108322c42314a10) 4283: fixing indentation - [`22a0546`](https://github.com/netbox-community/netbox/commit/22a0546c583aa359e9b11b77e01f7d81244986e2) 4283: fixing unit tests - [`1760cb5`](https://github.com/netbox-community/netbox/commit/1760cb553dd911410f72b7982b4c151a3b9ccd53) 4283: fixing unit tests - [`2046107`](https://github.com/netbox-community/netbox/commit/20461079b483e7a6afeff41950a133fe98ed2005) 15075: adds maintenance mode to device status, adds unit tests ### 📊 Changes **4 files changed** (+170 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/choices.py` (+2 -0) 📝 `netbox/dcim/tests/test_filtersets.py` (+54 -14) 📝 `netbox/dcim/tests/test_forms.py` (+17 -0) 📝 `netbox/utilities/tests/test_filters.py` (+97 -17) </details> ### 📄 Description ### Fixes: #15075 ## Summary This PR adds "Maintenance" as a status to devices. This also updates unit tests. --- <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 23:24:56 +01:00
adam closed this issue 2025-12-29 23:24:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14516