Skip to content

Virtual Machine - Boot Order #19742

@vincemulhollon

Description

@vincemulhollon

NetBox version

4.0.11

Feature type

Data model extension

Proposed functionality

Add something very similar to how prefixes are handled, but for VM boot order.
This is different from existing feature request #18658 on the topic of "start at boot" this setting the order.

Use case

Some virtualization systems like Proxmox have a VM boot (and shutdown) ordering system. In Proxmox Web UI go to a VM, select "Options" select "Start/Shutdown Order" click edit and you get a page of options including numeric "Start/Shutdown Order". As I understand it the cluster will start VMs in order (with optional delay) from 1 to 99, then blank/default as last., and shutdown order is reverse. This is explained in Proxmox admin manual.

If netbox handles it like prefixes, a user could define "order 10" for the name "DHCP servers" and "order 20" for the name "Samba DCs" and when later wondering what number to assign to resolving DNS servers, a list of boot orders could be examined to determine a really great time to start the resolving DNS servers might be "boot order 15" or at least any number smaller than 20 (because Samba needs a resolving DNS it can forward to) and larger than 10 (although technically if your DHCP server has FQDNs in its config maybe it needs to be smaller than 10). Anyway then individual VMs could have a "boot order" assigned to them.

Its a long story but I have a script that could be extended to compare the numeric Netbox boot order column, if it existed, with the proxmox boot order to output a discrepancy list etc. Much like you can currently compare/audit memory allocations in Netbox with the current config in Proxmox.

Database changes

In virtualization, add a "boot order" similar to the IPAM/Prefixes system.
In each virtual machine, add a "boot order" pointing to one of the boot orders configured above.

External dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending closureRequires immediate attention to avoid being closed for inactivitystatus: revisions neededThis issue requires additional information to be actionabletype: featureIntroduction of new functionality to the application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions