Module vtl2_settings

Source
Expand description

Convenience methods for tests to generate and modify the VTL2 settings of a VM under test.

Structs§

Vtl2LunBuilder
A builder for a VTL2 LUN, which is a storage device presented from VTL2 to the guest.
Vtl2StorageBackingDeviceBuilder
A builder for a physical device that will back a VTL2 LUN. This is the storage that is presented from the host OS to VTL2. A single VTL2 lun can have zero, one, or multiple backing devices (see Vtl2LunBuilder for more details on that).
Vtl2StorageControllerBuilder
A builder for a VTL2 storage controller, which presents one or more LUNs to the guest.

Enums§

ControllerType
Logical type of the storage controller, used for both devices presented from the host to VTL2, and also from VTL2 to the VTL0 guest.

Functions§

build_vtl2_storage_backing_physical_devices
VTL2 Settings wraps the list of backing devices into a PhysicalDevices type, with subtlely different fields depending on whether there is one or multiple devices. This helper builds that wrapper type.