[PR #20751] [MERGED] Closes #18658: Add start on boot field to VirtualMachine model #16036

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20751
Author: @RobertH1993
Created: 11/5/2025
Status: Merged
Merged: 11/12/2025
Merged by: @arthanson

Base: featureHead: feature


📝 Commits (3)

  • 75f9959 Closes #18658: Add start on boot field to VirtualMachine model
  • 8dc76b7 Closes #18658: Add start on boot field to VirtualMachine model, fixed identation
  • a21894d Changed according to feedback, removed migration, fixed typo in docs, fixed inconsistent diplay of start_on_boot

📊 Changes

15 files changed (+109 additions, -22 deletions)

View changed files

📝 docs/models/virtualization/virtualmachine.md (+7 -0)
📝 netbox/templates/virtualization/virtualmachine.html (+4 -0)
📝 netbox/virtualization/api/serializers_/virtualmachines.py (+9 -8)
📝 netbox/virtualization/choices.py (+14 -0)
📝 netbox/virtualization/filtersets.py (+4 -0)
📝 netbox/virtualization/forms/bulk_edit.py (+7 -1)
📝 netbox/virtualization/forms/bulk_import.py (+8 -2)
📝 netbox/virtualization/forms/filtersets.py (+6 -1)
📝 netbox/virtualization/forms/model_forms.py (+4 -4)
netbox/virtualization/migrations/0050_virtualmachine_start_on_boot.py (+18 -0)
📝 netbox/virtualization/models/virtualmachines.py (+9 -0)
📝 netbox/virtualization/tables/virtualmachines.py (+6 -3)
📝 netbox/virtualization/tests/test_api.py (+3 -1)
📝 netbox/virtualization/tests/test_filtersets.py (+8 -2)
📝 netbox/virtualization/tests/test_views.py (+2 -0)

📄 Description

Closes: #18658

Adds start on boot field to VirtualMachine model


🔄 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/20751 **Author:** [@RobertH1993](https://github.com/RobertH1993) **Created:** 11/5/2025 **Status:** ✅ Merged **Merged:** 11/12/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `feature` ← **Head:** `feature` --- ### 📝 Commits (3) - [`75f9959`](https://github.com/netbox-community/netbox/commit/75f9959a133fc630951cf25d724bd18983056b0c) Closes #18658: Add start on boot field to VirtualMachine model - [`8dc76b7`](https://github.com/netbox-community/netbox/commit/8dc76b7a961ba24aea1cce1d1d358d9ce3caf822) Closes #18658: Add start on boot field to VirtualMachine model, fixed identation - [`a21894d`](https://github.com/netbox-community/netbox/commit/a21894d8d9249d653a69b78796782ac79a4e13b9) Changed according to feedback, removed migration, fixed typo in docs, fixed inconsistent diplay of start_on_boot ### 📊 Changes **15 files changed** (+109 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `docs/models/virtualization/virtualmachine.md` (+7 -0) 📝 `netbox/templates/virtualization/virtualmachine.html` (+4 -0) 📝 `netbox/virtualization/api/serializers_/virtualmachines.py` (+9 -8) 📝 `netbox/virtualization/choices.py` (+14 -0) 📝 `netbox/virtualization/filtersets.py` (+4 -0) 📝 `netbox/virtualization/forms/bulk_edit.py` (+7 -1) 📝 `netbox/virtualization/forms/bulk_import.py` (+8 -2) 📝 `netbox/virtualization/forms/filtersets.py` (+6 -1) 📝 `netbox/virtualization/forms/model_forms.py` (+4 -4) ➕ `netbox/virtualization/migrations/0050_virtualmachine_start_on_boot.py` (+18 -0) 📝 `netbox/virtualization/models/virtualmachines.py` (+9 -0) 📝 `netbox/virtualization/tables/virtualmachines.py` (+6 -3) 📝 `netbox/virtualization/tests/test_api.py` (+3 -1) 📝 `netbox/virtualization/tests/test_filtersets.py` (+8 -2) 📝 `netbox/virtualization/tests/test_views.py` (+2 -0) </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. --> ### Closes: #18658 <!-- Please include a summary of the proposed changes below. --> Adds start on boot field to VirtualMachine model --- <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:25:26 +01:00
adam closed this issue 2025-12-30 00:25:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16036