Skip to content

Virtual Machines

A virtual machine (VM) represents a virtual compute instance hosted within a cluster. Each VM must be assigned to a site and/or cluster, and may optionally be assigned to a particular host device within a cluster.

Virtual machines may have virtual interfaces assigned to them, but do not support any physical component. When a VM has one or more interfaces with IP addresses assigned, a primary IP for the device can be designated, for both IPv4 and IPv6.

Fields

Name

The virtual machine's configured name. Must be unique to the assigned cluster and tenant.

Role

The functional role assigned to the VM.

Status

The VM's operational status.

Tip

Additional statuses may be defined by setting VirtualMachine.status under the FIELD_CHOICES configuration parameter.

Site & Cluster

The site and/or cluster to which the VM is assigned.

Device

The physical host device within the assigned site/cluster on which this VM resides.

Platform

A VM may be associated with a particular platform to indicate its operating system.

Primary IPv4 & IPv6 Addresses

Each VM may designate one primary IPv4 address and/or one primary IPv6 address for management purposes.

Tip

NetBox will prefer IPv6 addresses over IPv4 addresses by default. This can be changed by setting the PREFER_IPV4 configuration parameter.

vCPUs

The number of virtual CPUs provisioned. A VM may be allocated a partial vCPU count (e.g. 1.5 vCPU).

Memory

The amount of running memory provisioned, in megabytes.

Disk

The amount of disk storage provisioned, in megabytes.

Warning

This field may be directly modified only on virtual machines which do not define discrete virtual disks. Otherwise, it will report the sum of all attached disks.

Serial Number

This field was introduced in NetBox v4.1.

Optional serial number assigned to this virtual machine. Unlike devices, uniqueness is not enforced for virtual machine serial numbers.


Warning: Attempt to read property "ID" on null in /www/netboxlabs_220/public/wp-content/plugins/droit-elementor-addons-pro-new/modules/popup-builder/popup-builder.php on line 140