LegacyBoot#

class LegacyBoot(boot_device=None, boot_order=None, *args, **kwargs)[source]#

Bases: object

Legacy boot mode and its associated configuration.

Parameters:
  • boot_device – (boot_device)

  • boot_order – (boot_order) Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.

property boot_device#
Type:

BootDeviceDisk | BootDeviceNic

property boot_order#

Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.

Type:

list[ BootDeviceType ]

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model