Expand description
Convenience methods for tests to generate and modify the VTL2 settings of a VM under test.
Structs§
- Vtl2
LunBuilder - A builder for a VTL2 LUN, which is a storage device presented from VTL2 to the guest.
- Vtl2
Storage Backing Device Builder - 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). - Vtl2
Storage Controller Builder - A builder for a VTL2 storage controller, which presents one or more LUNs to the guest.
Enums§
- Controller
Type - 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.