VM.changeFloppy:
Change the disk in the VM's floppy device.
Arguments
vmIDUUIDThe UUID of the VM
driveSpecDriveSpecThe specification of the new floppy disk
Returns
['']VmDefinitionThe VM definition, as updated


VM.thaw:
Thaw mounted filesystems within the guest (hence guest agent may be required depending on hypervisor used).
Arguments
vmIDUUIDThe UUID of the VM


Image.delete:
Delete the Image and all of its Volumes.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
postZerobooleanIf True, overwrite Volume data with zeroes after deletion
forcebooleanForce the operation and do not perform any validation
discardbooleanIf true, discard the image and its volumes before deletion
Returns
['']UUIDA task UUID


VM.changeCD:
Change the CD in the VM's CD-ROM device.
Arguments
vmIDUUIDThe UUID of the VM
driveSpecDriveSpecThe specification of the new CD
Returns
['']VmDefinitionThe VM definition, as updated


VM.start_backup:
Starts a backup for specified VM and selected disks of this VM.
Arguments
vmIDUUIDA UUID of the VM
backup_idUUIDA UUID of the backup
disksVolumeInfoList of disks which should be backed up. If 'to_checkpont_id' is specified, these disks will be included in the checkpoint. A new bitmap will be created on all the disks.
from_checkpoint_idUUIDIf specified, perform incremental backup including all checkpoints since that checkpoint (including this checkpoint).
to_checkpoint_idUUIDIf specified, create a new checkpoint when starting the backup. The next backup can use the new checkpoint to perform incremental backup. The backup does not include the data referenced by this checkpoint.
Returns
['']BackupInfoInformation about the started backup.


Lease.rebuild_leases:
Rebuild external leases index on storage domain
Arguments
sd_idUUIDThe storage domain where external leases volume is located
Returns
['']UUIDA task UUID


StoragePool.getBackedUpVmsList:
Get a list of backed up virtual machines from a Backup Storage Domain.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
storagedomainIDUUIDThe UUID of the Backup Storage Domain to check
Returns
['']UUIDA list of VM UUIDs


StoragePool.spmStop:
Instruct this host to release the Storage Pool Manager role for this pool.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool


Host.remove_image_ticket:
Stop an image upload data transfer session.
Arguments
uuidUUIDuuid of the ticket to be removed


Host.getStats:
Get host statistics.
Arguments
None
Returns
['']HostStatsThe host statistics


Host.setMOMPolicyParameters:
Set variables for MOM policy fine tuning.
Arguments
key_value_storedictThis argument contains a dictionary where keys represent policy variable names and values contain the values.


Host.dumpxmls:
Get Libvirt domain XML of the given VMs.
Arguments
vmListUUIDA list of VM UUIDs to return domain XMLs for.
Returns
['']StringMapA map of VM UUID to of domain XML.


StorageDomain.extend:
Extend a block-based Storage Domain onto more block devices.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
storagepoolIDUUIDThe UUID of the Storage Pool
devliststringAn array of block device names to add to the domain
forcebooleanTry to extend a domain with LUN even if it is not empty (e.g. already marked as part of a VG).


VM.desktopSendHcCommand:
Send an arbitrary command to the guest agent.
Arguments
vmIDUUIDThe UUID of the VM
messagestringThe message to send


SDM.update_volume:
Update the volume with specific parameters described in the vol_attr. Each call increases the generation, unless it is specified in the attributes then the provided will be used.
Arguments
job_idUUIDA UUID to be used for tracking the job progress
vol_infoCopyDataDIVEndpointThe volume to update.
vol_attrVolumeAttributesThe possible attributes which are allowed to be changed in a volume.


Host.getConvertedVm:
Return OVF string that created via convertExternalVm call
Arguments
jobidUUIDUUID to identify the job that created in convertExternalVm
Returns
['']string


Host.fenceNode:
Send a fencing command to a remote host.
Arguments
addrstringThe IP address of the remote fence agent
portintThe port number of the remote fence agent
agentstringThe type of agent being connected to (For example: rsa, ilo, drac5, ipmilan, etc)
usernamestringThe username used to login to the remote fence agent
passwordstringThe password for username
actionFenceNodeActionThe type of fencing operation to perform (from FenceNodeAction)
securebooleanEnable SSL communication
optionsstringAdditional agent-specific parameters in space-separated <var>=<val> pairs
policyFencingPolicyAdditional options needed in fenceNode logic
Returns
['']FenceNodeResultResult of specified fence action


Host.getStorageDomains:
Get a list of known Storage Domains.
Arguments
storagepoolIDUUIDLimit to Domains belonging to this Storage Pool
domainClassStorageDomainImageClassLimit to Domains of this StorageDomainImageClass
storageTypeStorageDomainTypeLimit to Domains of this StorageDomainType
remotePathstringLimit to Domains having this remotePath.
Returns
['']UUIDA list of Storage Domain UUIDs


Lease.status:
Return the underlying sanlock lease status
Arguments
leaseLeaseLease to query
Returns
['']VolumeLeaseStatusInformation about the sanlock lease status


Host.setupNetworks:
Reconfigure host networking by adding, removing, and editing multiple bridgeand bond devices in a single call.
Arguments
networksSetupNetworkNetConfigConfiguration information for the network bridges
bondingsSetupNetworkBondConfigConfiguration information for the bond devices
optionsSetupNetworkOptionsAdditional options to control configuration behavior


StorageDomain.getStats:
Get Storage Domain statistics.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
Returns
['']StorageDomainStatsStorage Domain statistics


StoragePool.reduceVolume:
Reduce volume size. Mainly used after merge operation.
Arguments
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
volumeIDUUIDThe UUID of the Volume
allowActivebooleanA flag indicating whether to allow reducing the size of active volumes.
Returns
['']UUIDA task UUID


Task.getStatus:
Get Task status information.
Arguments
taskIDUUIDThe UUID of the Task
Returns
['']TaskStatusStatus infomation


VM.setNumberOfCpus:
Set the number CPUs for a VM
Arguments
vmIDUUIDThe UUID of the VM
numberOfCpusintThe new number of cpus
Returns
['']VmDefinitionThe VM definition, as updated


SDM.merge:
Merge data from top volume to base volume.
Arguments
job_idUUIDA UUID to be used for tracking the job progress
subchain_infoSubchainInfoSubchain to merge


Task.revert:
Rollback a Task to restore the previous system state.
Arguments
taskIDUUIDThe UUID of the Task


Host.stopMonitoringDomain:
Stop SD monitoring with hostID
Arguments
sdUUIDUUIDThe Storage Domain UUID


Host.setSafeNetworkConfig:
Mark the current network configuration good and persist any changes.
Arguments
None


Host.getExternalVMNames:
Get names of all the VMs on external hypervisor
Arguments
uristringLibvirt connection uri
usernamestringLibvirt connection user name
passwordstringLibvirt connection password
Returns
['']stringA list of VM names


LVMVolumeGroup.remove:
Remove this Volume Group.
Arguments
lvmvolumegroupIDUUIDThe UUID of the LVM Volume Group


Image.sparsify:
Create a copy of a sparse volume to a destination volume within the sameStorage Pool with free space removed from the source volume.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
tmpVolUUIDUUIDThe UUID of the snapshot volume
dstSdUUIDUUIDThe UUID of the destination storage domain
dstImgUUIDUUIDThe UUID of the destination image
dstVolUUIDUUIDThe UUID of the destination volume


Image.prepare:
Prepare an image, making the needed volumes available.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
imageIDUUIDThe UUID of the Image
volumeIDUUIDThe UUID of the Volume
allowIllegalbooleanFalse by default. If set to True, prepare will succeed even if any of the image volumes are illegal, for making the volume writable by untrusted source. Never use this when exposing the volume's image to a vm!
Returns
['']PreparedImageInfoInformation about prepared image


StorageDomain.attach:
Attach a Storage Domain to a Storage Pool.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
storagepoolIDUUIDThe UUID of the Storage Pool


Host.getAllVmStats:
Get statistics for all virtual machines.
Arguments
None
Returns
['']VmStatsA list of stats for all VMs


VM.getInfo:
Get detailed information about a VM.
Arguments
vmIDUUIDThe UUID of the VM
Returns
['']VmDefinitionVM information


Volume.setDescription:
Set the Volume description field.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
descriptionstringA human-readable Volume description. Up to 210 bytes; longer values will be truncated


Image.download:
Download an image to a remote endpoint using the specified method and methodArgs.
Arguments
methodArgsImageSharingMethodArgsAn ImageSharingMethodArgs record specifying the download method.
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
imageIDUUIDThe UUID of the Image
volumeIDUUIDThe UUID of the Volume
Returns
['']UUIDA task UUID


VM.migrate:
Migrate a VM to a remote host.
Arguments
vmIDUUIDThe UUID of the VM
paramsMigrateParamsMigration parameters


Volume.extendSize:
Extends the virtual size of a volume.
Arguments
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
volumeIDUUIDThe UUID of the Volume
newSizestringThe new desired size (in bytes)
Returns
['']UUIDA task UUID


VM.delete_checkpoints:
Deletes specified VM checkpoint ids.
Arguments
vmIDUUIDA UUID of the VM
checkpoint_idsstringList of checkpoints ids to delete, order from oldest to newest.


VM.merge:
Perform a live merge of a VM disk to remove an unwanted snapshot. All databetween baseVolUUID and topVolUUID will be merged into baseVolUUID andany snapshots which depended on topVolUUID will now depend on baseVolUUID.
Arguments
vmIDUUIDThe UUID of the VM
driveDriveSpecVolumeA DriveSpecVolume structure representing the disk
baseVolUUIDUUIDThe UUID of the base volume
topVolUUIDUUIDThe UUID of the top volume
bandwidthintLimit I/O for the merge (in MB/s)
jobUUIDUUIDAssign a UUID to this operation which can be used to identify it in VmStats


StoragePool.create:
Create a new Storage Pool.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
namestringA human-readable name for the Storage Pool
masterSdUUIDUUIDThe UUID of the Storage Domain that will be used as the master domain
masterVersionintThe Storage Domain version of the master domain
domainListUUIDA list of Storage Domain UUIDs that should be attached to the Storage Pool
lockRenewalIntervalSecintThe number of seconds to wait before renewing lease (Should be less than leaseTimeSec). 0 selects the default value.
leaseTimeSecintThe maximum number of seconds that the leaseholder may retain the lease without renewing it. 0 selects the default value.
ioOpTimeoutSecintThe maximum number of seconds that an I/O operation may take to complete. 0 selects the default value.
leaseRetriesintThe number of times to attempt lease renewal before failure. 0 selects the default value.


StoragePool.disconnectStorageServer:
Remove backing storage connections.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
domainTypeStorageDomainTypeThe type of backing storage
connectionParamsConnectionRefParametersAn array of connection information
Returns
['']ConnectStorageServerStatusThe status of each connection attempt


ManagedVolume.detach_volume:
Detach a volume. If the volume is not attached, the operation will succeed.
Arguments
vol_idUUIDThe volume ID


StorageDomain.format:
Format a storage domain and erase all of its data.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
autoDetachbooleanDetach the Storage Domain before formatting. Useful when formatting the master domain.


Host.getDevicesVisibility:
Check if the host has access to block storage devices.
Arguments
guidListUUIDA list of block device GUIDs
Returns
['']DeviceVisibilityMapAccessibility for each device


StoragePool.connectStorageServer:
Establish a connection to backing storage.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
domainTypeStorageDomainTypeThe type of storage to connect
connectionParamsConnectionRefParametersAn array of connection information
Returns
['']ConnectStorageServerStatusThe status of each connection attempt


VM.diskSizeExtend:
Extends the virtual size of a disk through the running VM.
Arguments
vmIDUUIDThe UUID of the VM
driveSpecsDriveSpecVolumeA DriveSpecVolume structure representing the disk
newSizestringThe new desired size (in bytes)
Returns
['']stringThe new size of the disk (might have been rounded)


SDM.move_domain_device:
Moves the data stored on a Storage Domain block device PV to other PVs that are part of the domain.
Arguments
job_idUUIDA UUID to be used for tracking the job progress
move_paramsStorageDomainDeviceMoveParamsThe move operation parameters


StoragePool.getDomainsContainingImage:
Get a list of Data Storage Domains that contain an Image.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
imageIDUUIDThe UUID of the Image to search for
Returns
['']UUIDA list of UUIDs of Data Storage Domains that contain the Image


Host.getAllVmIoTunePolicies:
Get io tune policies for all virtual machines.
Arguments
None
Returns
['']BulkIoTunePolicyMapA map of io tune policies for all VMs


StoragePool.getSpmStatus:
Get the status of the Storage Pool Manager role.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
Returns
['']SpmStatusSPM status information


Image.reconcileVolumeChain:
Reconcile an image volume chain and return the current chain.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
imageIDUUIDThe UUID of the Image
leafVolIDUUIDThe UUID of the original leaf volume
Returns
['']UUIDA list of volume UUIDs representing the current volume chain


Image.teardown:
Teardown an image, releasing the prepared volumes.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
imageIDUUIDThe UUID of the Image
volumeIDUUIDThe UUID of the Volume (optional)


StorageDomain.activate:
Activate an attached but inactive Storage Domain.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
storagepoolIDUUIDThe UUID of the Storage Pool to which the Storage Domain is attached


Host.hostdevReattach:
Reattach device back to the host
Arguments
deviceNamestringLibvirt name of the device (specified using underscores - pci_0000_05_00_0 for example)


StoragePool.getBackedUpVmsInfo:
Get information about backed-up virtual machines from a Backup StorageDomain.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
storagedomainIDUUIDThe UUID of the Backup Storage Domain to check
vmListUUIDLimit results to a list of VM UUIDs
Returns
['']OVFMapA dictionary of OVF information indexed by VM UUID


Host.getCapabilities:
Get host capabilities.
Arguments
None
Returns
['']VdsmCapabilitiesHost capabilities information


StoragePool.removeVM:
Remove a previously saved virtual machine definition.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
vmUUIDUUIDRemove the saved definition of the VM with this UUID
storagedomainIDUUIDThe Storage Domain where the VM is stored


VM.seal:
Run virt-sysprep on all disk images of the VM, erasing all machine-specific configuration from the filesystem.
Arguments
vmIDUUIDThe UUID of the VM
job_idUUIDA UUID to be used for tracking the job progress
sp_idUUIDThe UUID of the Storage Pool
imagesVolumeInfoList of Images to be processed. Volume must always reference the leaf volume of the image.


Image.syncData:
Synchronize image data between storage domains within same Storage Pool.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
dstSdUUIDUUIDThe destination Storage Domain UUID
syncTypesyncTypeThe type of synchronization to perform
Returns
['']UUIDA task UUID


StoragePool.updateVMs:
Store virtual machine OVF files on a Storage Domain in the Storage Pool.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
vmListUpdateVmDefinitionA list of virtual machine definitions to store
storagedomainIDUUIDThe Storage Domain to use for storing the VM definitions


SDM.amend_volume:
Amend the volume with specific parameters described in the qcow2_attr.
Arguments
job_idUUIDA UUID to be used for tracking the job progress
vol_infoCopyDataDIVEndpointThe volume to amend.
qcow2_attrQcow2AttributesPossible QCOW2 attributes which are allowed to be changed in a volume using qcow2 format.


VM.migrationCreate:
Start a migrating VM on a destination host.
Arguments
vmIDUUIDThe UUID of the VM
paramsVmDefinitionThe VM definition
incomingLimituintThe maxiumum number of incoming migrations that Vdsm should allow from now on. Must be > 0.
Returns
['']MigrationCreateStateMigration creation state


Image.move:
Move or copy an image to another Storage Domain within the same Storage Pool.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
dstSdUUIDUUIDThe destination Storage Domain UUID
operationImageMoveOperationThe operation to perform
postZerobooleanIf True, overwrite Volume data with zeroes after deletion
forcebooleanForce the operation and do not perform any validation
discardbooleanIf true, discard the volume before deletion
Returns
['']UUIDA task UUID


VM.getStats:
Get statistics about a running virtual machine.
Arguments
vmIDUUIDThe UUID of the VM
Returns
['']VmStatsAn array containing a single VmStats record


Host.getExternalVMs:
Get information about the not-KVM virtual machines.
Arguments
uristringlibvirt connection uri
usernamestringlibvirt connection user name
passwordstringlibvirt connection password
vm_namesstringLimit query only to hosts with specified names
Returns
['']ExternalVmInfoA list of VMs (List of ExternalVmInfo)


VM.hibernate:
Save the live state of the VM to disk and stop it.
Arguments
vmIDUUIDThe UUID of the VM
hibernationVolHandleHibernationVolumeHandleVolumes to use for storing VM state and metadata


Host.getNetworkStatistics:
Get host network statistics.
Arguments
None
Returns
['']HostNetworkStatisticsHost network statistics


Host.getLVMVolumeGroups:
Get information about Volume Groups in this host.
Arguments
storageTypeBlockDeviceTypeLimit results to Volume Groups of a specific storage type
Returns
['']VolumeGroupInfoA list of VolumeGroupInfo items


VM.redefine_checkpoints:
Redefines VM checkpoints with specified list.
Arguments
vmIDUUIDA UUID of the VM
checkpointsCheckpointList of checkpoints ordered by creation order (from oldest to newest). Redefine fails if a checkpoint is missing on storage, or storage contains checkpoint not in this list.


StorageDomain.create:
Create a new Storage Domain.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
domainTypeStorageDomainTypeThe type of backing storage used by the Storage Domain
typeArgsStorageDomainCreateArgumentsType specific backing storage specifier
namestringA human-readable name
domainClassStorageDomainImageClassThe Storage Domain Class
versionintThe Storage Domain version that should be used
blockSizeintUnderlying storage block size. Valid values are 512 and 4096 (only for file based storage domains). In case valid value supplied, but underlying storage can't work with that block size, this call will fail. Setting to the speical value 0 means that VDSM will try to detect the block size and will set it to the 512 if detection fails.
maxHostsintMaximum number of hosts, supported by this domain. The number of hosts is defined by combination of sanlock alignment and block size. Because of that, handling 2000 hosts with 4k/8M lockspaces will require about 30GB of disk space. To decrease that overhead, we support reduced number of hosts per SD, so we can use smaller alignments and allocate less disk space for leases.


Host.getConnectedStoragePools:
Get a list of all Storage Pools that are connected to this host.
Arguments
None
Returns
['']UUIDA list of Storage Pool UUIDs


Lease.info:
Return external lease information
Arguments
leaseLeaseThe lease to query
Returns
['']LeaseInfoInformation about this lease


VM.stop_backup:
Stops a backup with specified UUID.
Arguments
vmIDUUIDA UUID of the VM
backup_idUUIDA UUID of the backup


VM.desktopLogin:
Log a user into the guest operating system.
Arguments
vmIDUUIDThe UUID of the VM
domainstringThe Active Directory domain (if applicable)
usernamestringThe username to use
passwordstringThe password corresponding to username


Host.setHaMaintenanceMode:
Configure maintenance for Hosted Engine subsystem.
Arguments
modeHaMaintenanceModeType of maintenance to configure
enabledbooleanWhether to enable or disable maintenance


StoragePool.reconstructMaster:
Recover a Storage Pool by reconstructing its Storage Domains.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
hostIdintHost Id used by San lock.
namestringA human-readable name for the Storage Pool
masterSdUUIDUUIDThe UUID of the Storage Domain that will be used as the master domain
masterVersionintThe Storage Domain version of the master domain
domainDictStorageDomainStatusMapStorage Domain statuses to be restored
lockRenewalIntervalSecintThe number of seconds to wait before renewing lease (Should be less than leaseTimeSec). 0 selects the default value.
leaseTimeSecintThe maximum number of seconds that the leaseholder may retain the lease without renewing it. 0 selects the default value.
ioOpTimeoutSecintThe maximum number of seconds that an I/O operation may take to complete. 0 selects the default value.
leaseRetriesintThe number of times to attempt lease renewal before failure. 0 selects the default value.


VM.setIoTune:
Sets the ioTune parameters for block devices
Arguments
vmIDUUIDThe UUID of the VM
tunablesVmDiskDeviceTuneParamslist of VmDiskDeviceTuneParams objects describing the new settings
Returns
['']TaskStatusStatus code


Task.clear:
Discard information about a finished Task.
Arguments
taskIDUUIDThe UUID of the Task


VM.desktopLogoff:
Logoff the active user of the guest operating system.
Arguments
vmIDUUIDThe UUID of the VM
forcebooleanForce the operation (unused)


Volume.refresh:
Refresh Volume to synchronize changes made by a remote host.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume


Host.convertExternalVmFromOva:
Convert VM from external file (OVA) to data domain
Arguments
ova_pathstringactual path to the ova file
vminfoExternalVmParamsinformation of the VM such as name, id etc
jobidUUIDAssign a UUID to this operation which can be used to identify it in HostStats


StorageDomain.resizePV:
Resize PV will cause the PV to use the entire size of the block device, after the block device was resized on the storage server.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
storagepoolIDUUIDThe UUID of the Storage Pool
guidstringA block device GUID
Returns
['']uintThe size in bytes of the device after resize


Volume.getQemuImageInfo:
Information returned from qemuimg info about a Volume. This verb must be called when the volume is prepared. The caller is responsible to prepare and teardown the image.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
Returns
['']QemuImageInfoThe Volume's qemuimg info


VM.cont:
Resume a paused VM.
Arguments
vmIDUUIDThe UUID of the VM
Returns
['']VmDefinition


StorageDomain.deactivate:
Deactivate an active, attached Storage Domain.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
storagepoolIDUUIDThe UUID of the Storage Pool
masterSdUUIDUUIDThe UUID of a Storage Domain that should become master after this domain has been deactivated. If this domain was not the master domain, then the current master's UUID may be used.
masterVersionintThe Storage Domain version of the new master domain


Host.getHardwareInfo:
Get host hardware information.
Arguments
None
Returns
['']HardwareInformationHost hardware information


Host.getAllTasksStatuses:
Get status information for all tasks.
Arguments
None
Returns
['']TasksStatusA mapping of Task statuses


VM.hotplugMemory:
Hotplug memory to a running VM NUMA node
Arguments
vmIDUUIDThe UUID of the VM
paramsHotplugMemoryParamsThe VM UUID and memory device information
Returns
['']VmDefinitionThe VM definition, as updated


VM.setCpuTunePeriod:
Set the vCpu period tune parameter to the VM
Arguments
vmIDUUIDThe UUID of the VM
periodinta number representing the period to be set
Returns
['']TaskStatusStatus code


Volume.copy:
Duplicate a volume to produce a new template image.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
dstSdUUIDUUIDThe UUID of the destination Storage Domain
dstImgUUIDUUIDThe UUID of the destination Image
dstVolUUIDUUIDThe UUID of the destination Volume
descstringSet the destination Volume description Up to 210 bytes; longer values will be truncated
volTypeVolumeRole(Unused) The role of the destination Volume
volFormatVolumeFormatThe data format to use for the destination Volume
preallocateVolumeAllocationThe Volume allocation mode
postZerobooleanIf force is set and dstVolUUID exists, zero the destination Volume before copying new data
forcebooleanIf dstVolUUID already exists, overwrite it
discardbooleanDiscard the destination volume before copying new data
Returns
['']UUIDA task UUID


LVMVolumeGroup.getInfo:
Get information about a Volume Group.
Arguments
lvmvolumegroupIDUUIDThe UUID of the LVM Volume Group
Returns
['']VolumeGroupInfoVolume Group information


Volume.delete:
Delete a Volume.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
postZerobooleanZero Volume data before deletion
forcebooleanRemove even if VolumeRole is SHARED or INTERNAL
discardbooleanDiscard the volume before deletion
Returns
['']UUIDA task UUID


Task.getInfo:
Get information about a Task.
Arguments
taskIDUUIDThe UUID of the Task
Returns
['']TaskInfoGeneral Task information


VM.diskReplicateFinish:
Stop the replication of a disk switching to a destination.
Arguments
vmIDUUIDThe UUID of the VM
srcDiskDriveSpecVolumeA DriveSpecVolume structure representing the source disk
dstDiskDriveSpecVolumeA DriveSpecVolume structure representing the destination disk


NBD.stop_server:
Stop serving a volume. If the service is not running, the call will succeed.
Arguments
server_idUUIDserver UUID.


VM.hostdevHotplug:
Add a new host device to a running VM.
Arguments
vmIDUUIDThe UUID of the VM
devicesVmHostDeviceList of host device specifications
Returns
['']stringList of hotplugged libvirt device names


Host.convertExternalVm:
Convert VM from external source to data domain
Arguments
uristringlibvirt connection uri
usernamestringlibvirt connection user name
passwordstringlibvirt connection password
vminfoExternalVmParamsinformation of the VM such as name, id etc
jobidUUIDAssign a UUID to this operation which can be used to identify it in HostStats


VM.migrateChangeParams:
Change parameters of an ongoing migration
Arguments
vmIDUUIDThe UUID of the VM
paramsMigrationParametersThe new parameters


VM.hostdevHotunplug:
Remove a host device from a running VM
Arguments
vmIDUUIDThe UUID of the VM
devicesstringList of device libvirt names
Returns
['']stringList of libvirt device names, indicating which devices were successfully hotunplugged.


VM.shutdown:
Request a graceful shutdown of a VM.
Arguments
vmIDUUIDThe UUID of the VM
delayintWait a number of seconds before shutting down
messagestringMessage to display to VM users before shutting down
rebootbooleanTrue if reboot is desired, False for shutdown
timeoutintNumber of seconds to wait before trying next shutdown/reboot method.
forcebooleanTrue if shutdown/reboot desired by any means necessary (forceful reboot/shutdown if all graceful methods fail) Default is False (i.e. graceful only).


ManagedVolume.volumes_info:
Get information about list of volumes
Arguments
vol_idsUUIDThe list of volume IDs
Returns
['']ManagedVolumeInformationInformation about the attached volumes. If list of volume IDs is not specified or empty, info about all volumes in DB is returned.


Host.hostdevChangeNumvfs:
Change number of VFs for specified PF
Arguments
deviceNamestringLibvirt name of the device (specified using underscores - pci_0000_05_00_0 for example)
numvfsuintNumber of requested VFs. Should be smaller or equal to totalvfs of PF.


Task.stop:
Stop a currently running Task.
Arguments
taskIDUUIDThe UUID of the Task


Host.setLogLevel:
Set the vdsm logging verbosity level.
Arguments
levelLoggingLevelThe new verosity level desired
namestringThe logger to set


VM.hotplugDisk:
Add a new disk device to a running VM.
Arguments
vmIDUUIDThe UUID of the VM
paramsHotplugDiskParamsThe VM UUID and device information
Returns
['']VmDefinitionThe VM definition, as updated


VM.getIoTunePolicy:
Gets the ioTune policy settings for block devices
Arguments
vmIDUUIDThe UUID of the VM
Returns
['']VmDiskDeviceTuneLimitslist of VmDiskDeviceTuneLimits objects describingthe current settings


Host.startMonitoringDomain:
Start SD monitoring with hostID
Arguments
sdUUIDUUIDThe Storage Domain UUID
hostIDintA host ID number in the Storage Domain Lockspace


Image.cloneStructure:
Clone an image structure from a source domain to a destination domainwithin the same Storage Pool.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
dstSdUUIDUUIDThe destination Storage Domain UUID
Returns
['']UUIDA task UUID


StorageDomain.validate:
Check that the Storage Domain is accessible.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain


Host.extend_image_ticket:
Extend an image upload data transfer session.
Arguments
uuidUUIDuuid of the ticket to be extended
timeoutuintTimeout in seconds for the ticket to expire.


StoragePool.prepareMerge:
This operation is required before performing (cold) merge. Prepare merge will calculate the required allocation for base volume, extend the base volume or enlarge it (if the size of volume being removed is larger than the base size), and mark it as ILLEGAL.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
subchainInfoSubchainInfoSubchain to prepare
Returns
['']UUIDA task UUID


VM.getIoTune:
Sets the ioTune parameters for block devices
Arguments
vmIDUUIDThe UUID of the VM
Returns
['']VmDiskDeviceTuneParamslist of VmDiskDeviceTuneParams objects


StorageDomain.getImages:
Get a list of Images associated with this Storage Domain.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
Returns
['']UUIDA list of Image UUIDs


VM.getMigrationStatus:
Report virtual machine migration statistics.On going progress or statistics on done migration
Arguments
vmIDUUIDThe UUID of the VM
Returns
['']MigrationStatsStatistics on ongoing migration or done migration


StoragePool.refresh:
Refresh Storage Pool information.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
masterSdUUIDUUIDThe UUID of the master Storage Domain
masterVersionintThe Storage Domain version of the master domain


Host.deleteV2VJob:
Delete V2V job when job is done or stop due to errors
Arguments
jobidUUIDUUID to identify the job that created in convertExternalVm


Host.registerSecrets:
Register secrets with libvirt
Arguments
secretsSecretInfoList of secrets to register
clearbooleanIf true, unregister other registered secrets


VM.destroy:
Forcibly stop a running VM.
Arguments
vmIDUUIDThe UUID of the VM
gracefulAttemptsuintnumber of times Vdsm should try to gracefully destroy the VM before to switch to forceful. Default is 1.


VM.hotplugNic:
Add a new network device to a running VM.
Arguments
vmIDUUIDThe UUID of the VM
paramsHotplugNicParamsThe VM UUID and device information
Returns
['']VmDefinitionThe VM definition, as updated


VM.hotunplugLease:
Remove a lease device from a running VM.
Arguments
vmIDUUIDThe UUID of the VM
leaseVmLeaseDeviceThe lease to unplug
Returns
['']VmDefinitionThe VM definition, as updated


VM.pause:
Pause the CPUs of a running VM.
Arguments
vmIDUUIDThe UUID of the VM
Returns
['']VmDefinition


VM.setDestroyOnReboot:
Set trap to shutdown VM on guest-initiated reboot.
Arguments
vmIDUUIDThe UUID of the VM


StoragePool.disconnect:
Disconnect and optionally remove a Storage Pool.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
hostIDintA host ID number unique across all hosts in the same cluster
scsiKeystringDeprecated. Retained here to support older versions
removebooleanIf True, remove the Storage Pool after it is disconnected. Not used by vdsm and set to false


VM.hotplugLease:
Add a new lease device to a running VM.
Arguments
vmIDUUIDThe UUID of the VM
leaseVmLeaseDeviceThe lease to plug
Returns
['']VmDefinitionThe VM definition, as updated


NBD.start_server:
Start serving a volume using NBD protocol. Fail if the service was already running.
Arguments
server_idUUIDNBD server UUID for controlling the server.
configNBDServerConfigThe server configuration.
Returns
['']stringNBD URL for accessing the server.


StoragePool.fence:
Fence the SPM host via the storage.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
Returns
['']SpmStatusSPM status information for the Storage Pool


Host.getVMFullList:
Get full information about the current virtual machines.
Arguments
vmListUUIDFilter the results by a list of UUIDs
Returns
['']VMFullInfoA list of full information about current VMs


StoragePool.finalizeMerge:
This operation is required after (cold) merge completes. Finalize will update qcow metadata and the vdsm volume metadata to reflect that a volume is being removed from the chain.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
subchainInfoSubchainInfoSubchain to finalize
Returns
['']UUIDA task UUID


Host.getVMList:
Get information about the current virtual machines.
Arguments
fullStatusbooleanWhen set to False return limited info
vmListUUIDFilter the results by a list of UUIDs
onlyUUIDbooleanControl the Short Status format, and has no effect if on Full Status (fullStatus=True). if True, the return value is a list of UUIDs. if False, the return value is a list of ShortStatus. This parameter is provided for backward compatibility with engine-3.5.0.
Returns
['']VmInfoA list of VmInfos


VM.hotunplugMemory:
Hotunplug memory from a running VM
Arguments
vmIDUUIDThe UUID of the VM
paramsHotplugMemoryParamsThe VM UUID and memory device information


StoragePool.spmStart:
Instruct this host to acquire the Storage Pool Manager role for this pool.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
prevIDintDeprecated. The Host ID of the previous SPM
prevLverstringDeprecated. The lver of the previous SPM
enableScsiFencingstringThis parameter is not used
maxHostIDintThe maximum number of hosts that could be in the cluster
domVersionstringThe expected Storage Domain version of the master domain
Returns
['']UUIDA task UUID


Lease.delete:
Delete an external lease (only on the SPM host)
Arguments
leaseLeaseThe lease to delete
Returns
['']UUIDA task UUID


Host.getLldp:
Get lldp information of a NIC
Arguments
filterStringListMapRestrict the reported lldp information. Empty restriction means to report all lldp information from all NICs.
Returns
['']LldpMapLldp information of a NIC


VM.setTicket:
Set the password to be used to connect to a VM display.
Arguments
vmIDUUIDThe UUID of the VM
passwordstringThe desired connection password
ttlintThe number of seconds before the password expires
existingConnActionVmTicketConflictActionIndicate what to do with any existing connections
paramsStringMapArbitrary key:val pairs that will be passed to hooks


VM.diskReplicateStart:
Start the replication of a disk to a destination.
Arguments
vmIDUUIDThe UUID of the VM
srcDiskDriveSpecVolumeA DriveSpecVolume structure representing the source disk
dstDiskDriveSpecVolumeA DriveSpecVolume structure representing the destination disk


Volume.getSize:
Get Volume size information.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
Returns
['']VolumeSizeInfoVolume size information


Host.getNetworkCapabilities:
Get host network capabilities.
Arguments
None
Returns
['']VdsmNetworkCapabilitiesHost network capabilities information


VM.desktopLock:
Lock the active user session in the guest operating system.
Arguments
vmIDUUIDThe UUID of the VM


Host.getExternalVmFromOva:
Get VM information (disks, interfaces, memory etc) from OVA file
Arguments
ova_pathstringpath to the ova file
Returns
['']ExternalVmInfoExternalVmInfo with information regarding the VM


SDM.reduce_domain:
Reduces a device from a block Storage Domain, should be executed after the data has been moved from the device using SDM.move_domain_device
Arguments
job_idUUIDA UUID to be used for tracking the job progress
reduce_paramsStorageDomainReduceParamsThe reduce operation parameters


Host.getStorageRepoStats:
Get statistics and liveness of currently monitored Storage Domains.
Arguments
domainsUUIDReturn statistics only for specified storage domain UUIDs. If not specified, return info for all storage domains.
Returns
['']StorageDomainVitalsMapStatistics for storage domains


SDM.sparsify_volume:
Perform an in-place sparsify (e.g. not creating a new image) on a given volume, removing unused space from the volume.
Arguments
job_idUUIDA UUID to be used for tracking the job progress
vol_infoCopyDataDIVEndpointAddress of the Volume to be processed


LVMVolumeGroup.create:
Create a new Volume Group.
Arguments
lvmvolumegroupIDUUIDThe UUID of the LVM Volume Group
nameUUIDThe new Volume Group UUID
devliststringAn array of device names to include in the Volume Group
forcebooleanForce the operation and do not perform any validation
Returns
['']UUIDThe uuid of the created Volume Group


VM.updateDevice:
Update the status of a VM's device.
Arguments
vmIDUUIDThe UUID of the VM
paramsvmUpdateDeviceParamsThe VM UUID and device information.
Returns
['']VmDefinitionThe VM definition, as updated


StoragePool.upgrade:
Upgrade all Storage Domains in this Storage Pool to a new version.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
targetDomVersionintThe version to upgrade to
Returns
['']StoragePoolUpgradeStatusThe status of the upgrade operation


Volume.getInfo:
Get information about a Volume.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
Returns
['']VolumeInfoResponseVolume information


Volume.create:
Create a new Volume.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
sizestringThe Volume size in bytes (as string)
volFormatVolumeFormatThe data format to use for the destination Volume
preallocateVolumeAllocationThe Volume allocation mode
diskTypeDiskTypeAn advisory disk usage type
descstringThe Volume description Up to 210 bytes; longer values will be truncated
srcImgUUIDUUIDIf specified, create a snapshot from this Image
srcVolUUIDUUIDIf specified, create a snapshot from this Volume
initialSizestringif specified, initial size of volume in bytes (as string). Allowed only when creating thin provisioned volume on block storage.
Returns
['']UUIDA task UUID


Lease.create:
Create an external lease (only on the SPM host)
Arguments
leaseLeaseThe lease to create
Returns
['']UUIDA task UUID


Host.ping2:
Test connectivity to vdsm.
Arguments
None


Host.setMOMPolicy:
Set MOM policy for different level of overcommitments.
Arguments
policystringMOM policy string.


Volume.verify_untrusted:
An untrusted volume is a volume that was in control of a user or untrusted external program, and may contain malicious data. One example is a volume uploaded by a user using ovirt-imageio. The verification includes comparing the untrusted volume's format with the format that is specified in the volume's metadata, and if the format is QCOW, verifying that it has no backingfile. If one of the verifications above fails, an ImageVerificationError will be returned.
Arguments
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
volumeIDUUIDThe UUID of the Volume


Host.get_image_ticket:
Get ticket from the imageio daemon via https api.
Arguments
uuidUUIDThe image ticket id.
Returns
['']TicketInfoInformation about the image ticket.


StoragePool.getInfo:
Get information about a Storage Pool and its Active Storage Domains.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
Returns
['']StoragePoolFullInfoStorage Pool and active Storage Domain information


Host.setKsmTune:
Set variables for controlling KSM mode and aggresivity.
Arguments
tuningParamsKsmTuneParamsA dictionary where keys represent variable names and values contain the values for controlling KSM.
Returns
['']TasksStatus


Host.getAllTasksInfo:
Get extra information about all tasks.
Arguments
None
Returns
['']TasksInfoA mapping of Task information


VM.setCpuTuneQuota:
Set the vCpu quota tune parameter to the VM
Arguments
vmIDUUIDThe UUID of the VM
quotainta number representing the quota to be set
Returns
['']TaskStatusStatus code


VM.create:
Create a new virtual machine.
Arguments
vmIDUUIDThe UUID of the VM
vmParamsVmParametersThe VM definition
Returns
['']VmDefinitionThe VM definition, as created


StorageDomain.getVolumes:
Get a list of Volumes contained within a Storage Domain.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
storagepoolIDUUIDThe UUID of the Storage Pool
imageIDUUIDLimit results to Volumes associated with a single Image
Returns
['']UUIDA list of Volume UUIDs


ManagedVolume.attach_volume:
Attach a volume. If the volume is already attached an error will be returned.
Arguments
vol_idUUIDThe volume ID
connection_infoManagedVolumeConnectionThe information needed to attach a volume
Returns
['']ManagedVolumeInformationInformation about the attached volume.


VM.backup_info:
Returns VM backup info.
Arguments
vmIDUUIDA UUID of the VM
backup_idUUIDA UUID of the backup
Returns
['']BackupInfoInformation about the backup identified by backup_id.


VM.freeze:
Freeze mounted filesystems within the guest (hence guest agent may be required depending on hypervisor used).
Arguments
vmIDUUIDThe UUID of the VM


VM.reset:
Reset a virtual machine.
Arguments
vmIDUUIDThe UUID of the VM


ISCSIConnection.discoverSendTargets:
Discover available targets for this ISCSIConnection.
Arguments
hoststringA fully-qualified domain name (FQDN) or IP address
portintA port number
userstringThe username used for authentication to an ISCI target
passwordstringThe password associated with the given username
ipv6_enabledbooleanIf true, the returned list includes porals on IPv6
Returns
['']stringA list of discovered targets in the form: '<host>:<port>,<tpgt><iqn>'


VM.updateVmPolicy:
Set VM SLA parameters
Arguments
vmIDUUIDThe UUID of the VM
paramsUpdateVmPolicyParamsThe UpdateVmPolicyParams structure that defines the changes that are to be applied to the current QoS policy.


StorageDomain.setDescription:
Set the Storage Domain description.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
descriptionstringA human-readable description


StorageDomain.getFileStats:
Get a list of files in an ISO domain.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
patternstringFilter results by this glob pattern
caseSensitivebooleanEnables case-sensitive matching
Returns
['']StorageDomainFileStatsMapA dictionary of file information indexed by file name


Host.ping:
Test connectivity to vdsm.
Arguments
None


VM.migrateCancel:
Cancel a currently outgoing migration process.
Arguments
vmIDUUIDThe UUID of the VM


Host.confirmConnectivity:
Confirm remaining external connectivity to vdsm host.
Arguments
None


VM.getDiskAlignment:
Check alignment of virtual machine disk partitions.
Arguments
vmIDUUIDThe UUID of the VM
diskDriveSpecVolumeA DriveSpecVolume structure representing the disk
Returns
['']DiskAlignmentMapMapping of partition name to alignment status


StoragePool.connect:
Connect to an existing Storage Pool.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
hostIDintA host ID number unique across all hosts in the same cluster
scsiKeystringDeprecated. Retained here to support older versions
masterSdUUIDUUIDThe UUID of a Storage Domain to use as the master domain
masterVersionintThe Storage Domain version of the master domain
domainDictStorageDomainStatusMapThe Storage Domain statuses. If this argument is present the Storage Pool will use the memory backend (no metadata).


Host.getJobs:
Get information about HostJobs on this host.
Arguments
job_typeHostJobTypeReturn only jobs of this type
job_idsUUIDReturn only jobs matching the specified ids
Returns
['']HostJobInfoMap


Host.unregisterSecrets:
Unregister secrets registered for given uuids
Arguments
uuidsUUIDList of UUIDs


Host.getDeviceList:
Get information about all block devices.
Arguments
storageTypeBlockDeviceTypeOnly return devices of this type
guidsstringOnly return info on specific list of block device GUIDs
checkStatusbooleanIndicates if device status should be checked
Returns
['']BlockDeviceInfoAn array of BlockDeviceInfo


Host.add_image_ticket:
Start a session to expose an image via imaged daemon https api for reading and writing image data.
Arguments
ticketImageTicketImageTicket


Image.getVolumes:
Get a list of Volumes associated with this Image.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
Returns
['']UUIDA list of Volume UUIDs


StorageDomain.getInfo:
Get information about a Storage Domain.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
Returns
['']StorageDomainInfoStorage domain information


SDM.copy_data:
Copy data from one volume to another.
Arguments
job_idUUIDA UUID to be used for tracking the job progress
sourceCopyDataEndpointThe source endpoint
destinationCopyDataEndpointThe destination endpoint


Image.deleteVolumes:
Delete one or more Volumes associated with this image.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
volumeListUUIDA list of Volume UUIDs
postZerobooleanIf True, overwrite Volume data with zeroes after deletion
forcebooleanForce the operation and do not perform any validation
discardbooleanIf true, discard the volumes before deletion
Returns
['']UUIDA task UUID


Host.getAllTasks:
Get all information about all tasks.
Arguments
None
Returns
['']TasksDetailsA mapping of task information


Volume.setLegality:
Set the legality of a Volume.
Arguments
volumeIDUUIDThe UUID of the Volume
storagepoolIDUUIDThe Storage Pool associated with the Volume
storagedomainIDUUIDThe Storage Domain associated with the Volume
imageIDUUIDThe Image associated with the Volume
legalityVolumeLegalityThe new Volume legality


StorageDomain.detach:
Detach an inactive Storage Domain from its Storage Pool.
Arguments
storagedomainIDUUIDThe UUID of the Storage Domain
storagepoolIDUUIDThe UUID of the Storage Pool
masterSdUUIDUUIDThe UUID of a Storage Domain that should become master after this domain has been deactivated. If this domain was not the master domain, then the current master's UUID may be used.
masterVersionintThe Storage Domain version of the new master domain
forcebooleanForce operation -- do not perform validation


StoragePool.setDescription:
Set the Storage Pool description. Deprecated since '4.0'.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
descriptionstringA human-readable string describing the Storage Pool


VM.setBalloonTarget:
Dynamically change the target amount of physical memory allocated to a guest.
Arguments
vmIDUUIDThe UUID of the VM
targetuintThe target of guest's physical memory size in kibibytes


VM.hotunplugDisk:
Remove a disk device from a running VM.
Arguments
vmIDUUIDThe UUID of the VM
paramsHotplugDiskParamsThe VM UUID and device information
Returns
['']VmDefinitionThe VM definition, as updated


Image.upload:
Upload an image to a remote endpoint using the specified method andmethodArgs.
Arguments
methodArgsImageSharingMethodArgsAn ImageSharingMethodArgs record specifying the upload method.
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
imageIDUUIDThe UUID of the Image
volumeIDUUIDThe UUID of the Volume (optional)
Returns
['']UUIDA task UUID


VM.snapshot:
Create a live snapshot of a VM's disks.
Arguments
vmIDUUIDThe UUID of the VM
snapDrivesSnapshotDriveInfoA list of disk snapshot creation instructions
snapMemorystringstr representation of the volumes in which the memory dump and vm configuration should be saved
frozenbooleanBoolean value set to true if the vm is frozen and does not need to be freezed during the snapshot.


StoragePool.destroy:
Destroy a Storage Pool.
Arguments
storagepoolIDUUIDThe UUID of the Storage Pool
hostIDintA host ID number unique across all hosts in the same cluster
scsiKeystringDeprecated. Retained here to support older versions


Image.mergeSnapshots:
Merge snapshot successor into ancestor.
Arguments
imageIDUUIDThe UUID of the Image
storagepoolIDUUIDThe UUID of the Storage Pool associated with the Image
storagedomainIDUUIDThe UUID of the Storage Domain associated with the Image
ancestorUUIDA Volume UUID representing the parent snapshot
successorUUIDA Volume UUID representing the child snapshot
postZerobooleanIf True, overwrite successor with zeroes after conversion
discardbooleanIf true, discard the successor after conversion
Returns
['']UUIDA task UUID


Host.abortV2VJob:
Abort V2V importing process
Arguments
jobidUUIDUUID to identify the job that created in convertExternalVm


VM.hotunplugNic:
Remove a network device from a running VM.
Arguments
vmIDUUIDThe UUID of the VM
paramsHotplugNicParamsThe VM UUID and device information
Returns
['']VmDefinitionThe VM definition, as updated


Host.hostdevListByCaps:
Refresh and get information about devices available on the host
Arguments
capsstringList of capabilities. Devices of given capabilities will be fetched. Omitting or sending empty list returns all devices.
Returns
['']HostDevicesA list of devices on the host


VmSmartcardDevice:
Properties of a VM smartcard device.
Members
specParamsVmSmartcardDeviceSpecParamsAdditional device parameters
deviceVmSmartcardDeviceTypeThe type of smartcard device
aliasstringAlias used to identify this device in commands
deviceTypeVmDeviceTypeThe device type (always smartcard)
addressVmDeviceAddressDevice hardware address


Qcow2Compat:
An enumeration of qcow compat version.
Values
1.1qemu versions starting with 1.1 which are supported by QCOW2 version 3.
0.1qemu versions 0.10 which are supported by QCOW2


VmSmartcardDeviceSpecParams:
Additional VM smartcard device parameters.
Members
modeVmSmartcardDeviceModeOperation mode of smartcard device
typeVmSmartcardDeviceProtocolProtocol used by smartcard device (spicevmc required for passthrough mode)


VmInterfaceDeviceType:
An enumeration of VM network device types.
Values
bridgeThe device is connected via a host bridge device


StorageDomainReduceParams:
An descriptor for a storage domain reduce operation.
Members
sd_idUUIDThe UUID of the Storage Domain
guidstringThe GUID of the block device to reduce from the domain


HostDeviceParams:
A host device parameters
Members
capabilitystringThe capability of the device (usually pci, usb_device, scsi)
vendorstringString representation of the vendor
vendor_idstringHexadecimal representation of the vendor
productstringString representation of the product specified by vendor
parentstringName of the parent device
product_idstringHexadecimal representation of the product specified by vendor
is_assignablestringAssignable flag
driverstringValues like usbhid, usb, qxl or sd
interfacestringNetwork interface assigned to a device
udev_pathstringdevice udev path
addressHostDeviceAddressdevice address


CopyDataDIVEndpoint:
An endpoint describing a Volume on a vdsm Storage Domain.
Members
sd_idUUIDThe UUID of the Storage Domain
img_idUUIDThe UUID of the Image
vol_idUUIDThe UUID of the Volume
generationuintThe expected generation of the Volume


VmDiskDeviceIoTuneParams:
I/O tune parameters for the VM disk device.
Members
total_bytes_secuintTotal throughput limit in bytes per second. Value 0 means unlimited.
read_bytes_secuintRead throughput limit in bytes per second. Value 0 means unlimited.
write_bytes_secuintWrite throughput limit in bytes per second. Value 0 means unlimited.
total_iops_secuintTotal I/O operations limit per second. Value 0 means unlimited.
read_iops_secuintRead I/O operations limit per second. Value 0 means unlimited.
write_iops_secuintWrite I/O operations limit per second. Value 0 means unlimited.


BlockJobType:
An enumeration of block job types
Values
pullA blockPull operation (forward merge)
copyA blockCopy operation
unknownThe block job type is not known or supported
commitA blockCommit operation (backward merge)


VMGuestOsInfo:
Information about the guest operating system on a VM
Members
codenamestringCodename of the OS
archstringArchitecture of the OS (x86, x86_64, ppc64, ...)
versionstringOperating system version
typestringType of the OS (linux, windows, ...)
distributionstringName of the linux distribution
kernelstringKernel version reported by a linux guest


VmSmartcardDeviceMode:
An enumeration of VM smartcard device modes.
Values
passthroughThird party provider (requires spicevmc)
hostDirect request to host


DiskType:
Disk content type.
Values
1The disk is for data (<4.2)
2The disk is shared among multiple VMs (<4.2)
3The disk is used for swap space (<4.2)
4The disk contains the operating system (<4.2)
5The disk is used for temporary storage space (<4.2)
6The type is not specified (<4.2)
MEMDThis is a memory dump volume (>=4.2)
MEMMThis is a memory metadata volume (>=4.2)
ISOFThis is ISO volume (>=4.2)
OVFSThis volume is OVF store (>=4.2)
DATAThis volume is for data (>=4.2)


CpuCoreStats:
Statistics about a cpu core.
Members
cpuSysstringRatio of CPU time spent in kernel
cpuUserstringRatio of CPU time spent in userspace
nodeIndexuintWhich numa node this cpu core belongs to
cpuIdlestringRatio of CPU time spent idle


VmDiskDeviceType:
An enumeration of VM disk device types.
Values
cdromA CD-ROM drive (always readonly)
floppyA floppy disk drive
diskA hard disk drive
lunA LUN device (required for LUN passthrough)


VmInterfaceDeviceModel:
An enumeration of VM network device models.
Values
ne2k_pciEmulated Realtek(R) PCI NIC
virtioParavirtual network interface
pvAlias for virtio
i82557bEmulated Intel i82557B NIC
rtl8139Emulated rtl8139 NIC
pcnetEmulated AMD(R) PC-Net II NIC
i82559erEmulated Intel i82559ER NIC
i82551Emulated Intel(R) 82551ER NIC
e1000Emulated Intel(R) Gigabit Ethernet NIC


LegacyCdromPath:
Cdrom specification that only supplies path to an image. Should not be used at all.
Type
LegacyCdromPathstringCdrom specification that only supplies path to an image. Should not be used at all.


VmConsoleDeviceSpecParams:
Additional console device parameters
Members
enableSocketbooleanif enabled, export console endpoint as UNIX domain socket instead of pty.
consoleTypeVmConsoleDeviceTypeType of console to be configured for the VM


StorageDomainType:
An enumeration of Storage Domain types.
Values
FCPThe Storage Domain uses FibreChannel based storage
CIFSThe Storage Domain uses CIFS/SMB based storage
UNKNOWNThe type is not known
ISCSIThe Storage Domain uses iSCSI based storage
GLUSTERFSThe Storage Domain uses GlusterFS based storage
LOCALFSThe Storage Domain uses storage on the local file system
NFSThe Storage Domain uses Network File System based storage
SHAREDFSThe Storage Domain uses storage from a Linux VFS file system


FencingPolicy:
Additional options for fenceNode logic.
Members
storageDomainHostIdMapHostIdMapmap of storage domains and host ids. It is used to check status of host lease on specified storage. If host has live lease on at least one storage domain, then fence actions 'on', 'off' and 'reboot' will not be executed. The 'status' action execution is unaffected by content of the map.
skipFencingIfGlusterBricksUpbooleanA boolean value to indicate fence actions 'on', 'off' and 'reboot' should be skipped if there is any 'UP' brick from the host being fenced. Execution of 'status' action is unaffected by this value.
skipFencingIfGlusterQuorumNotMetbooleanA boolean value to indicate fence actions 'on', 'off' and 'reboot' should be skipped if there is any 'UP' brick from the host being fenced and killing that brick will make the gluster volume to lose the quorum. Execution of 'status' action is unaffected by this value.
glusterServerUuidUUIDGluster Server UUID of the host being fenced


PhysicalVolumeInfo:
Phisical volume information.
Members
capacitystringThe device logical size (in bytes)
devcapacitystringThe device size (in bytes)
vendorIDstringA string identifying the device manufacturer
productIDstringA string identifying the device model
pvUUIDUUIDThe LVM physical volume associated with this device
vgUUIDUUIDThe volume group associated with this device
fwrevstringFirmware version information
devtypeBlockDeviceTypeThe type of storage device (BlockDeviceType)
pathlistIscsiSessionInfoiSCSI session information
GUIDUUIDThe globally unique identifier of the block device
serialstringThe device serial number (if available)
pathstatusBlockDevicePathInfoMultipath information


CopyDataEndpoint:
A discriminated record containing an endpoint for a copy data operation.
Types
CopyDataDIVEndpointCopyDataDIVEndpoint


VmGraphicsDeviceType:
An enumeration of VM graphics device types.
Values
vncVNC graphics device
spiceSPICE graphics device


ParentVolumeInfo:
A reference to a parent volume.
Members
img_idUUID
vol_idUUID


ImageTicketOps:
An enumeration of operation types allowed by an image ticket
Values
readpermission to read data from image
writepermission to write data to image


TicketInfo:
Information about an existing image ticket.
Members
sizeuintThe ticket size.
urlstringThe image url, e.g. "file:///path/to/image".
timeoutintThe up to date time that is left for the ticket to expire in seconds. A negative value means that the ticket has already expired.
uuidUUIDThe ticket UUID.
opsImageTicketOpsAllowed operations for this ticket.
filenamestringThe filename value that was set when creating the ticket.
activebooleanStates whether the ticket has at least one active upload/download session.
transferreduintThe amount of bytes that were transferred using this ticket so far.


VmControllerDeviceType:
An enumeration of VM controller device types.
Values
fdcA floppy disk controller
virtio-serialA virtio-serial controller
ccidA ccid (smart card) controller
sataA Serial ATA controller
scsiA SCSI controller
ideAn IDE controller
usbA USB controller


ImageTicket:
Information about an image ticket.
Members
sizeuintMaximum size (in bytes) that can be written or read from the image.
urlstringThe image url, e.g. "file:///path/to/image"
timeoutuintTimeout in seconds for the ticket to expire
uuidUUIDA ticket UUID
opsImageTicketOpsoperations allowed by this ticket
filenamestringIf set, it will be used as the filename attribute of the content-disposition header when downloading an image. When downloading using a browser, this is typically the download filename.


VolumeGroupAttributePartial:
An enumeration of possible values for the partial status attribute.
Values
pThe Volume Group cannot access some Physical Volumes
-The Volume Group can access all of its Physical Volumes


ExternalVmParams:
map of VM properties to convert external source
Members
disksExternalDiskParamslist of disk devices
vmNamestringThe name of the VM
poolIDUUIDThe UUID of the underlying Storage Pool object
domainIDUUIDThe UUID of the storage domain that contains the volume
virtio_iso_pathstringPath to virtio drivers iso file
formatVolumeFormatconverted disk format (raw, cow etc)
qcow2_compatstringset version of QCOW2 images (0.10, 1.1); ignored for KVM imports


FenceNodeOperationStatusResult:
Status of fence script execution as a result of 'on', 'off' and 'reboot'actions.
Values
skippedFence script was not executed due to entered fencing policy
initiatedFence script was executed


QemuImageInfo:
Volume's information returned from qemuimg info.
Members
formatQemuImageFormatThe format used to write data to the Volume
virtualsizeuintThe size of the Volume (in bytes)
clustersizeuintThe cluster size of the Volume in bytes.
backingfilestringThe backing file name. New volumes will always use uuid of the volume, while old volumes will use relative path of the volume (../image-uuid/vol-uuid).
compatQcow2CompatThe compat version.


GuestDiskMappingInfo:
disk mapping information indexed by property name.
Members
namestringdevice logical name within the guest.


StoragePoolInfo:
Information about a Storage Pool.
Members
master_uuidUUIDThe UUID of the Storage Domain serving as the master domain
lverlongThe Storage Pool lock version
versionstringThe Storage Pool version
typeStorageDomainTypeThe type of storage managed by this Storage Pool
namestringThe Storage Pool name
master_verintThe Storage Domain version of the master domain
domainsstringAll associated Storage Domains (the string has the following format: '<uuid>:<status>,<uuid>:<status>...'
spm_idintThe Host ID of the host that is acting Storage Pool Manager
isoprefixstringThe filesystem path from where ISO images may be referenced
pool_statusStoragePoolStatusThe current status of the Storage Pool


StoragePoolDomainInfo:
Information about a Storage Domain that is attached to a Storage Pool.
Members
diskfreestringThe remaining free disk space in bytes
alertsStoragePoolDomainAlertA list of alerts for this Storage Domain
disktotalstringThe total amount of disk space in the Storage Domain in bytes
isoprefixstringISO domain images directory
statusStorageDomainStatusCurrent Storage Domain status
versionintIndicates the Storage Domain version
isoprefixstringThe filesystem path from where ISO images may be referenced. Empty if no iso domain exists in the pool.


GuestContainerInfo:
Information about a container defined in the guest Vm
Members
idstringIdentifier of the container
namesstringList of given names/aliases for the container
imagestringName of the image the container was started from
statusstringStatus message for the container (e.g. uptime in case of Docker)
commandstringExecuted command in the container


GuestDisksMappingMap:
guest disks mapping information indexed by serial.
Key
stringstring
Value
GuestDiskMappingInfoGuestDiskMappingInfo


VmDiskStatsMap:
A mapping of VM disk statistics indexed by device name.
Key
stringstring
Value
VmDiskStatsVmDiskStats


VmDefinition:
Full virtual machine status and properties.
Members
hypervEnablebooleanEnables hyperv specific optimizations for the Guest OS
displayVmDisplayTypeThe type of display
customStringMapA dictionary of custom, free-form properties
memSizeuintThe amount of memory assigned to the VM in MB
smpuintThe number of CPUs presented to the VM
maxMemSlotsuintMaximum number of memory slots available This is the upper boundary for hot plug memory action, if not specified, defaults to 16
devicesVmDeviceAn array of VM devices present
fileTransferEnablebooleanSpecify if file transfer is enabled. Currently relevant for qxl devices only.
emulatedMachinestringThe machine specification being emulated
kvmEnablebooleanIndicates if KVM hardware acceleration is enabled
transparentHugePagesbooleanIndicates if the Transparent Huge Pages feature is enabled for this virtual machine
vmNamestringThe VM name
numOfIoThreadsuintThe num of iothreads qemu allocates
timeOffsetuintThe time difference from host to the VM in seconds
displayPortintThe port in use for unencrypted display data
niceintThe host scheduling priority
piduintThe process ID of the underlying qemu process
pauseCodestringIndicates the reason a VM has been paused
cpuSharesstringThe host scheduling priority (relative to other VMs). In case both cpuShares and nice are present, cpuShares will be used.
acpiEnablebooleanIndicates if ACPI is enabled inside the VM
displaySecurePortintThe port in use for encrypted display data
maxMemSizeuintThe maximum amount of memory that can be assigned to the VM in MB
clientIpstringThe IP address of the client connected to the display
smpThreadsPerCoreuintIndicates the number of CPU threads per core
keyboardLayoutstringThe keyboard layout string (eg. 'en-us')
vmIdUUIDThe VM UUID
smpCoresPerSocketuintIndicates the number of CPU cores per socket
maxVCpusuintMaximum number of CPU available for the guest It is the upper boundry for hot plug CPU action
cpuTypestringThe type of CPU being emulated special values 'hostPassthrough' and 'hostModel' are reserved for host-passthrough and host-mode cpu mode
displayIpstringThe IP address to use for accessing the VM display
exitMessagestringExplains the reason that the VM process has exited
memGuaranteedSizeuintThe amount of memory guaranteed to the VM in MB
serialstringSerial number for the VM.
copyPasteEnablebooleanSpecify if copy and paste is enabled. Currently relevant for qxl devices only.
exitCodeintThe exit code f the VM process has ended
statusVmStatusThe current VM status
vmTypeVmTypeThe type of VM


MigrationStatus:
An enumeration of VM migration status.
Values
in_progressMigration in progress
doneMigration completed


MigrationCreateState:
Reports the state of a VM creation on the destination host.
Members
migrationPortintThe port used for migration (currently always 0)
paramsVmDefinitionThe VM status


ConnectorInfo:
Connector information. The data structure is according to os-brick output.
Members
initiatorstringIQN initiator
ipstringIP address of the host
platformstringHardware platform
os_typestringThe operating system type
do_local_attachbooleanDescribe if volume attachment is local (RBD only)
hoststringHost name
multipathbooleanDescribe if multipath is enabled


CreateVolumeInfo:
Parameters used for creating a new volume.
Members
sd_idUUIDThe Storage Domain associated with the Volume
initial_sizeuintIf specified, the initial allocated size of volume in bytes. Allowed only when creating a thinly provisioned volume on block storage.
virtual_sizeuintThe Volume size in bytes
img_idUUIDThe Image associated with the Volume
vol_formatVolumeFormatThe data format to use for the destination Volume
vol_idUUIDThe UUID of the Volume
descriptionstringThe Volume description (up to 210 bytes)
disk_typeDiskTypeAn advisory disk usage type
parentParentVolumeInfoDerive from the indicated parent Volume


VmRngDeviceType:
An enumeration of VM rng device types
Values
virtiosupported by qemu and virtio-rng kernel module


MOMStatus:
An enumeration of possible MOM statuses.
Values
activeMOM is enabled and running
disabledMOM is not enabled on this host
inactiveMOM has terminated


JobType:
An enumeration of job types
Values
unknownAn unrecognized or unsupported job
blockA block job


VmControllerDevice:
Properties of a VM controller device.
Members
deviceVmControllerDeviceTypeThe specific type of controller device
modelstringThe controller device model in use
deviceIdUUIDA unique ID for this device
deviceTypeVmDeviceTypeThe device type (always controller)
aliasstringAlias used to identify this device in commands
addressVmDeviceAddressDevice hardware address


CpuCoreStatsMap:
A mapping of cpu core stats indexed by cpu core id.
Key
stringstring
Value
CpuCoreStatsCpuCoreStats


VmGraphicsDeviceSpecParams:
Additional parameters for VM graphics devices.
Members
keyMapstringThe keyboard layout string (eg. 'en-us')
displayNetworkstringAddress of the display network
spiceSecureChannelsstringSecure space channels, comma separated
copyPasteEnablebooleanSpecify if copy and paste is enabled. Currently relevant for spice devices only.
fileTransferEnablebooleanSpecify if file transfer is enabled. Currently relevant for qxl devices only.


MemNode:
Pinning of a VM NUMA node to host NUMA nodes
Members
vmNodeIndexstringVM NUMA node index
nodesetstringList of host numa nodes


NetInfoVlanMap:
A mapping of vlan information indexed by vlan tag.
Key
stringstring
Value
NetInfoVlanNetInfoVlan


VmInterfaceDeviceFilterParameters:
The tuple of the name and the value of a network filter parameter.
Members
namestringThe name of the parameter
valuestringThe value of the parameter


GuestMemoryStats:
Memory statistics as reported by the guest agent.
Members
mem_totalstringThe total amount of memory available to the OS (in KiB)
mem_cachedstringThe amount of pagecache used by the OS (in KiB)
mem_buffersstringThe amount of temporary raw disk block storage used by the OS (in KiB)
pagefltuintAverage number of page faults per second
mem_freestringThe amount of memory available for allocation in KiB (includes easily reclaimable memory)
majfltuintAverage number of major page faults per second
minfltuintAverage number of minor page faults per second
mem_unusedstringThe amount of memory that is completely unused (in KiB)
swap_outuintAverage number of memory pages swapped out per second
swap_inuintAverage number of memory pages swapped in per second


MigrationParameters:
Parameters for VM.migrateChangeParams
Members
maxBandwidthintthe new bandwidth


VdsmNetworkCapabilities:
Host network information and capabilities.
Members
networksNetInfoNetworkMapInformation about configured VDSM networks
bridgesNetInfoBridgeMapInformation about the network bridges on the host
vlansNetInfoVlanMapInformation about configured vlans
bondingsNetInfoBondMapInformation about configured bonding devices
nicsNetInfoNicMapInformation about the network cards on the host
netConfigDirtystringIndicates if there are uncommitted changes to the network configuration
supportsIPv6booleanWhether IPv6 is enabled in the kernel
nameserversstringProvides host DNS servers from /etc/resolve.conf


TaskStatus:
A collection of status information about a task.
Members
taskResultTaskResultFinal task result (TaskResult)
codeintReturn code from the underlying task verb
taskIDUUIDThe task UUID
taskStateTaskStateCurrent task state (TaskState)
messagestringDetailed error message from the underlying task verb


SpmRole:
An enumeration of Storage Pool Manager roles that are valid for a host.
Values
ContendThe host is contending for the SPM role
SPMThe host has the SPM role
FreeThe host does not have the SPM role


LeaseInfo:
Information about external sanlock lease
Members
sd_idUUIDThe storage domain id where this lease is stored
lease_idUUIDThe id of this lease
pathstringThe path to the lease file. Set when a lease is created and valid until the lease is remvoed.
offsetulongThe offset of the lease in the lease file. Set when a lease is created and valid until the lease is removed.


HostJobType:
The type of a HostJob (string)
Values
storageStorage job
v2vv2v job


VolumeGroupAttributePermission:
An enumeration of possible values for the permission attribute.
Values
rThe Volume Group is read-only
wThe Volume Group is writable


SoftwarePackageInfo:
Information about an installed piece of software.
Members
releasestringThe release number for this version
versionstringThe software version


ConvergenceItem:
A convergence action which will be executed when the migration is stalling longer than the first argument.
Members
actionConvergenceActionThe specific action which has to be executed.
limitintIf the migration is stalling for this amount of time, execute the action.


ExternalNetworkInfo:
Network information from external source
Members
devstringnetwork name
macAddrstringphisical address
bridgestringbridge name
typestringnetwork type (bridge, network)
modelstringinterface model


VmDiskDeviceSpecParams:
Extra parameters for VM disk devices.
Members
pathstringThe filesystem path to the disk image
ioTuneVmDiskDeviceIoTuneParamsAdditional IO tune parameters
pinToIoThreaduintpin this device to a specific IO Thread


DriveSpecCdrom:
A cdrom specification that allows directly indexing the cdrom.
Members
pathstringThe full filesystem path to the image file
ifacestringBus that the cdrom resides on
indexintIndex on the iface used


VmDiskDeviceInterface:
An enumeration of VM disk device interfaces.
Values
fdcThe device is connected to an emulated floppy disk controller
ideThe device is connected via an emulated IDE bus
virtioThe device uses a virtio para-virtualized interconnect
scsiThe device uses a virtio-scsi para-virtualized interconnect


VmGraphicsDevice:
Properties of a VM graphics device.
Members
specParamsVmGraphicsDeviceSpecParamsAdditional device parameters
deviceVmGraphicsDeviceTypeThe type of video device
portuintThe port in use for unencrypted display data
deviceTypeVmDeviceTypeThe device type (always graphics)
tlsPortuintThe port in use for encrypted display data


UUID:
A universally unique identifier in RFC 4122 format.eg. "407cb255-34be-432c-be7c-eb43b8de82be"
Type
UUIDstringA universally unique identifier in RFC 4122 format.eg. "407cb255-34be-432c-be7c-eb43b8de82be"


SELinuxStatus:
Information about host SELinux.
Members
modestringThe policy enforcement mode. Values are (from SELinux documentation): 1 = enforcing, 0 = permissive, -1 = disabled.


SnapshotVolumeDriveInfo:
Snapshot information for a Volume-based VM disk.
Members
baseVolumeIDUUIDThe Volume associated with the VM disk
imageIDUUIDThe Image associated with the VM disk
domainIDUUIDThe Storage Domain associated with the VM disk
volumeIDUUIDThe Volume in which to create the snapshot


VmStatus:
An enumeration of possible virtual machine statuses.
Values
DownThe VM is powered off
Saving StateThe VM is preparing for hibernation
Powering downA shutdown command has been sent to the VM
UpThe VM is running
Restoring stateThe VM is waking from hibernation
PausedThe VM is paused
Migration DestinationThe VM is migrating to this host
Migration SourceThe VM is migrating away from this host
WaitForLaunchThe VM is being created
Powering upThe VM is booting
RebootInProgressThe VM is currently rebooting


MigrateMethod:
An enumeration of VM migration methods.
Values
onlineMigrate while the VM continues to run


VmExitReason:
An enumeration of VM exit reason, explaining why the VMhas gone down, either successfully on in error.
Values
save state succeededThe VM state was successfully saved
successThe VM has exited gracefully
generic errorUnspecified error code.
user shutdownThe VM was shut down by an user from within the guest
libvirt domain missingFailed to find the libvirt domain for the VM
destroyed on startupVM destroyed during the startup
admin shutdownThe VM was shut down by the admin from the engine UI
migration succeededThe VM was successfully migrated
lost qemu connectionThe VM has lost the connection with QEMU
migration failedThe VM failed to migrate, and do not moved from the source host
libvirt start failedThe VM failed to start through libvirt


VmLeaseDevice:
Properties of a VM lease device.
Members
typeVmDeviceTypeThe device type ("lease")
sd_idUUIDThe storage domain id where this lease is stored
lease_idUUIDThe unique id of this lease


NetworkInterfaceStats:
Statistics about a single network interface.
Members
rxErrorsstringThe number of incoming packets that have contained errors
namestringThe network device name
stateNetworkInterfaceStateIndicates whether the interface is currently active
rxstringThe number of incoming bytes in total
txDroppedstringThe number of outgoing packets that have been dropped
macAddrstringThe hardware address
txErrorsstringThe number of outgoing packets that have contained errors
speedstringThe interface speed (in Megabits/s)
txstringThe number of outgoing bytes in total
sampleTimefloatTime stamp of the sample
rxDroppedstringThe number of incoming packets that have been dropped


vmUpdateInterfaceDeviceParams:
Parameters for VM.updateDevice
Members
aliasstringAlias used to identify this device in commands.
portMirroringstringIf present, indicates the traffic of the only networks which should be mirrored to the interface identified by alias. If omitted, it keeps the current mirroring configuration.
linkActivebooleanWhether the VM network card has its link active (up) or not (down). If omitted, keeps the previous link state.
networkstringName of the bridge the interface will be added to. If omitted it keeps the interface on the previous network. If the network name is an empty string, it deactivates the link and disassociates the vnic from its current network.
filterstringThe name of the referenced network filter
filterParametersVmInterfaceDeviceFilterParametersThe list of parameters of the network filter. Applicable only if 'filter' is supplied.


OSName:
An enumeration of recognized operating system names.
Values
FedoraFedora Linux
oVirt NodeoVirt Node standalone hypervisor
unknownThe operating system could not be detected
RHEV HypervisorRed Hat Enterprise Virtualization Hypervisor
RHELRed Hat Enterprise Linux
DebianA Debian-based distribution (including Ubuntu)


NetInfoBridgelessNetwork:
Information about a VDSM bridgeless network.
Members
interfacestringThe network device name associated with the network
bridgedbooleanAlways False to distinguish this type from NetInfoBridgedNetwork


HotplugDiskParams:
Parameters for VM.hotplugDisk.
Members
vmIdUUIDThe UUID of the VM to modify
driveVmDiskDeviceThe disk device specification
xmlstringXML snippet containing <devices> element with exactly one device. <metadata> element may be optionally present, providing device metadata. Used in hot plugs and hot unplugs.


NetworkInterfaceStatsMap:
A mapping of interface stats indexed by device name.
Key
stringstring
Value
NetworkInterfaceStatsNetworkInterfaceStats


VolumeLeaseStatus:
The status of a sanlock lease
Members
pathstringThe path to the lease file. Set when a lease is created and valid until the lease is removed.
offsetulongThe offset of the lease in the lease file. Set when a lease is created and valid until the lease is removed.
ownersuintThe host ids of the hosts owning this lease. If empty, the lease is free; otherwise the lease is acquired. If a lease is exclusive, contains the host id of the single host owning this lease. If a lease is shared, there may be multiple host ids. If the lease needs repair, this key will not be available. (optional)
versionintA monotonically increasing unsigned 64 bit integer, incremented each time a lease is acquired successfully. If the lease needs repair, this key will not be available. (optional)


Qcow2Attributes:
Possible QCOW2 attributes which are allowed to be changed in a volume using qcow2 format.
Members
compatQcow2CompatThe compat version for qcow volume.


VmTicketConflictAction:
An enumeration of consequences if another user is connected to a display.
Values
failFail the operation and do not change the password
disconnectDisconnect the current user
keepChange the password but keep the current user connected


SecretInfo:
Libvirt secret info
Members
descriptionstringA human-readable description of this secret
usageIDstringSpecifies a unique usage id for the current usage type, as documented in https://libvirt.org/formatsecret.html
usageTypeSecretUsageTypeSpecifies the usage type for this secret
uuidUUIDAn unique identifier for this secret
passwordstringBase64 encoded value of this secret


OsVersion:
Host operating system version information.
Members
nameOSNameThe name of the OS
releasestringThe release number for this version
versionstringThe OS version (eg. 17 for Fedora 17)
pretty_namestringThe OS pretty name


MultipathHealthMap:
A mapping of multipath status indexed by multipath device UUID.
Key
UUIDUUID
Value
MultipathStatusMultipathStatus


SpmStatus:
Storage Pool Manager status information.
Members
spmIdintThe Host ID of the Storage Pool Manager
spmStatusSpmRoleThe SPM role for this host
spmLverlongThe lock version of the Storage Pool


TaskInfo:
Extra information about a task.
Members
idUUIDThe UUID of the task
verbstringThe underlying operation to be performed by the task


HostBandwidthParams:
Host Bandwidth traffic shape parameters for Host networking QoS.
Members
ulBandwidthCurveupper limit curve, puts an absolute cap to the traffic class traffic.
lsBandwidthCurveLink sharing curve, establishes a sharing proportion with other traffic classes over the same device.
rtBandwidthCurveReal time curve, can steal traffic from other curves to 'guarantee' a kind of minimum traffic. Use with caution.


VmDiskDeviceTuneParams:
Extra parameters for VM disk devices. At least one device identifier (name/path) is needed.
Members
namestringThe name of the taget device
pathstringThe path of the taget device
ioTuneVmDiskDeviceIoTuneParamsIO tune parameters


VmSharedDriveType:
Specifies the share policy for a VM disk drive.
Types
booleanboolean
SharedDriveTypeSharedDriveType


PreparedImageInfo:
Information about a prepared image
Members
pathstringThe image path


AutoNumaBalancingStatus:
An enumeration of the status of auto numa balancing function in kernel.
Values
0Auto numa balancing is not active
1Auto numa balancing is active
2Can't get the status(maybe not support in this kernel version)


syncType:
An enumeration of possible Image synchronization types.
Values
ALLSync all volumes
INTERNALSync internal volumes only
LEAFSync leaf volumes only


TaskState:
An enumeration of possible task states.
Values
abortingThe task has been interrupted by a user has encountered an error
unknownThe state of the task is not known
finishedThe task has finished executing
initThe task is initializing
runningThe task is currently executing
cleaningThe task has failed and recovery actions are underway


VdsmCapabilities:
Host information and capabilities.
Members
bondingsNetInfoBondMapInformation about configured bonding devices
autoNumaBalancingAutoNumaBalancingStatusThe status of auto numa balancing function
netConfigDirtystringIndicates if there are uncommitted changes to the network configuration
nicsNetInfoNicMapInformation about the network cards on the host
emulatedMachinesstringA list of supported emulated machines
cpuFlagsstringCPU feature flags (a comma-separated string)
reservedMemstringThe amount of memory reserved for hypervisor overhead
onlineCpusstringThe list of online logical CPUs
cpuSpeedstringThe speed of each CPU (in MHz)
software_versionstringVDSM version (x.y.z)
vmTypesVmTypeA list of supported virtual machine types
hostdevPassthroughstringIndicates status of Intel VT-d or AMD-vi
rngSourcesVmRngDeviceSourceSources of entropy available at this host
version_namestringThe name given to this version of VDSM
numaNodesNumaNodeMapInformation about host numa topology
memSizestringThe amount of total memory installed in the host
supportedENGINEsstringA list of supported ovirt-engine versions
cpuModelstringThe CPU model
selinuxSELinuxStatusThe status and configuration of SELinux on the host.
networksNetInfoNetworkMapInformation about configured VDSM networks
kvmEnabledstringKVM is enabled on the host
liveMergestringIndicates if live merge is supported on this host.
ISCSIInitiatorNamestringThe iSCSI initiator name for this host
cpuThreadsstringThe number of CPU threads present
software_revisionstringExtra VDSM version information
liveSnapshotstringIndicates if the host supports live snapshotting
bridgesNetInfoBridgeMapInformation about the network bridges on the host
guestOverheadstringThe amount of memory reserved for per-guest overhead
HBAInventoryHbaInventoryInformation about available host bus adapters
clusterLevelsstringA list of supported cluster versions
cpuCoresstringThe number of CPU cores present
cpuSocketsstringThe number of CPU sockets
lastClientIfacestringInterface on which client is communicating
uuidstringA unique host ID
operatingSystemOsVersionOperating system version information
vlansNetInfoVlanMapInformation about configured vlans
supportsIPv6booleanWhether IPv6 is enabled in the kernel
nameserversstringProvides host DNS servers from /etc/resolve.conf
numaNodeDistanceNumaNodeDistanceMapDistance information between each two numa nodes
kdumpStatusintThe current status of kdump configuration for the host: enabled (1), disabled(0), unknown(-1)
packages2SoftwarePackageInfoMapVersion information of important software packages
hooksHookScriptInfoMapInformation about installed hooks
additionalFeaturesstringProvides a list of additional features supported in this host.
kernelArgsstringArguments of currently running kernel (contents of /proc/cmdline)
realtimeKernelbooleanIndication whether the running kernel is compiled with RT_PREEMPT enabled
nestedVirtualizationbooleanIndication whether the system is capable of nested virtualization (considers platform & module options).
hostedEngineDeployedbooleanIndicates whether hosted engine has been deployed on the host
hugepagesintA list of available hugepage sizes (in kb)
vncEncryptedstringIndicates whether libvirt is configured to encrypt VNC connections
connector_infoConnectorInfoConnector information. Only present if os-brick is installed on the host
backupEnabledbooleanIndicates if the host supports backup


KsmTuneParams:
Parameters for controling KSM.
Members
sleep_millisecsintThe wait time between page scans.
runintThe action: 0 nothing, 1 merge pages, 2 unmerge pages.
pages_to_scanintThe amount of pages to scan during one cycle.
merge_across_nodesint


HostQoSParams:
Host networking QoS parameters. Outbound only for now
Members
outHostBandwidthParamsupper limit curve, puts an absolute cap to the traffic class traffic.


SetupNetworkNetConfig:
A mapping of network bridge configuration attributes indexed by bridge name.
Key
stringstring
Value
SetupNetworkNetAttributesSetupNetworkNetAttributes


PathStatsMap:
A mapping of filesystem statistics indexed by mount point.
Key
stringstring
Value
PathStatsPathStats


VmDevicePciAddress:
Device address for a PCI device.
Members
slotuintThe slot number on the PCI bus
domainuintThe PCI domain
busuintThe PCI bus number
addressTypeVmDeviceAddressTypeThe device address type (always pci)
functionuintFunction number on the PCI card that implements the device


StoragePoolDomainAlert:
Alert information for a Storage Domain attached to this Storage Pool.
Members
codeintThe alert code
messagestringA detailed alert string


TasksInfo:
A mapping of Task information indexed by Task UUID.
Key
UUIDUUID
Value
TaskInfoTaskInfo


NumaNodeMap:
A mapping of numa node(cell) information indexed by numa cell id.
Key
stringstring
Value
NumaNodeNumaNode


VolumeRole:
An enumeration of Volume Roles.
Values
SHAREDThe Volume is a shared template
INTERNALThe Volume is being used internally by vdsm
LEAFThe Volume is a writable leaf


VmChannelDevice:
Properties of a VM channel device.
Members
deviceIdUUIDA unique ID for this device
deviceVmChannelDeviceTypeThe specific type of channel device
aliasstringAlias used to identify this device in commands
deviceTypeVmDeviceTypeThe device type (always channel)
addressVmDeviceAddressDevice hardware address


VolumeInfoResponse:
Information about a Volume.
Members
disktypeDiskTypeAn advisory code indicating the Volume's planned usage
statusVolumeStatusIndicates whether the Volume and metadata are valid
poolUUIDThe Storage Pool associated with the Volume. Not used and is effectively empty since version 3.5
capacityuintThe size of the Volume (in bytes)
parentUUIDThe direct ancestor of this Volume if it exists
allocTypeVolumeAllocationThe Volume allocation policy
childrenUUIDA list of descendent Volumes that depend on this Volume
mtimeuintThe Volume modification time (deprecated)
descriptionstringA human-readable description of the Volume
legalityVolumeLegalityIndicates whether the volume is legal to use
ctimeintThe Volume creation time in seconds since the epoch
voltypeVolumeRoleThe Volume role
truesizeuintThe amount of underlying storage allocated (in bytes)
uuidUUIDThe Volume UUID
domainUUIDThe Storage Domain associated with the Volume
apparentsizeuintThe size of the Volume (in bytes)
formatVolumeFormatThe format used to write data to the Volume
imageUUIDThe Image associated with the Volume
leaseVolumeLeaseStatusThe status of the Volume lease, or null if this storage domains does not support volume leases.
generationuintA monotonically increasing number, incremented each time a volume operation is completed successfully. The maximum value is 999 and the next increment will reset the value to 0.


BackupInfo:
A backup info entity
Members
disksStringMapMapping of disks in the backup to NBD URLs (imageId -> "nbd:unix:/path:exportname=sdx")


HostStats:
Statistics about this host.
Members
memAvailableintAmount of memory available to run virtual machines (in MB)
cpuUserVdsmdstringRatio of CPU time spent in userspace by vdsm
swapTotalintThe total amount of swap space (in MB)
incomingVmMigrationsuintThe number of VMs migrating to this host
cpuLoadstringThe 5 minute CPU load average
ksmPagesintThe number of memory pages KSM will scan at each interval
memUsedstringThe percentage of memory used (not including caches)
cpuIdlestringRatio of CPU time spent idle
haScoreintThe host score according to the HA agent, if installed
txDroppedstringThe number of outgoing packets dropped
ksmStatebooleanIndicates if KSM is enabled or disabled
elapsedTimestringThe number of seconds that vdsm has been running
netConfigDirtystringIndicates if there are uncommitted changes to the network configuration
vmActiveintThe number of VMs active on this host
vmMigratingintThe number of VMs migrating to or from this host
networkHostNetworkInterfaceStatsMapPer-interface network statistics
outgoingVmMigrationsuintThe number of VMs migrating away from this host
cpuSysstringRatio of CPU time spent in kernel
dateTimestringThe current date and time according to this host
cpuStatisticsCpuCoreStatsMapStatistics about each cpu core
memCommittedintAmount of memory committed to running VMs (in MB)
swapFreeintThe amount of free swap space remaining (in MB)
cpuUserstringRatio of CPU time spent in userspace
ksmCpuuintThe amount of CPU being used by the KSM thread
numaNodeMemFreeNumaNodeMemoryStatsMapStatistics about the memory of numa nodes
momStatusMOMStatusThe current status of the MOM policy engine
memFreeintAmount of free memory on host (in MB)
memSharedintApproximate amount of memory that is shared by VMs due to the KSM feature (in bytes)
storageDomainsStorageDomainVitalsMapStorage Domain vital statistics
vmCountintThe number of VMs present on this host
diskStatsPathStatsMapStatistics about paths on the host filesystem
cpuSysVdsmdstringRatio of CPU time spent in kernel by vdsm
haStatsHostedEngineStatusThe current status of the Hosted Engine HA system
v2vJobsV2VJobsCurrent v2v jobs that running/ended on current host
bootTimestringThe boot time of the system in seconds since epoch
thpStateTHPStatesCurrent mode of the Transparent Huge Pages feature
rxDroppedstringThe number of incoming packets dropped
anonHugePagesstringThe amount of anonymous memory in huge pages (in MB)
ksmMergeAcrossNodesbooleanIndicates whether ksm merge is enabled
multipathHealthMultipathHealthMapMultipath status for devices with failed paths. If this map is empty, all multipath devices are healthy.


VmSmartcardDeviceType:
An enumeration of VM smartcard device types.
Values
smartcardA smartcard


VmWatchdogDevice:
Properties of a VM watchdog device.
Members
deviceIdUUIDA unique ID for this device
deviceVmWatchdogDeviceTypeThe type of watchdog device
specParamsVmWatchdogDeviceSpecParamsAdditional device parameters
deviceTypeVmDeviceTypeThe device type (always watchdog)
aliasstringAlias used to identify this device in commands
addressVmDeviceAddressDevice hardware address, only 'i6300esb' need address


RunningVmStats:
Statistics for a running virtual machine.
Members
memoryStatsGuestMemoryStatsMemory statistics as reported by the guest agent
timeOffsetstringThe time difference from host to the VM in seconds
kvmEnablestringIndicates if KVM hardware acceleration is enabled
cpuSysstringRatio of CPU time spent by qemu on other than guest time
vcpuUserLimitintCpu usage hard limit in percents.
elapsedTimestringThe number of seconds that the VM has been running
watchdogEventWatchdogEventInformation about the most recent watchdog event
acpiEnablestringIndicates if ACPI is enabled inside the VM
networkNetworkInterfaceStatsMapNetwork bandwidth/utilization statistics
disksVmDiskStatsMapDisk bandwidth/utilization statistics
cpuUsagestringTotal cpu usage since VM start in ns
cpuUserstringRatio of CPU time spent by the guest VM
vmIdUUIDThe UUID of the Vm
migrationProgressuintIndicates the percentage progress of a Migration, when there is one active.
balloonInfoBalloonInfoGuest memory balloon information
displayIpstringThe IP address to use for accessing the VM display
vcpuQuotastringSetting for libvirt cpu_quota.
guestIPsstringA space separated string of assigned IPv4 addresses
vcpuPeriodlongSetting for libvirt cpu_period.
ioTuneVmDiskDeviceTuneParamsCurrent QoS settings for IO devices
vmTypeVmTypeThe type of VM
guestFQDNstringFully qualified domain name of the guest OS. (Reported by the guest agent)
usernamestringThe username associated with the current session
pidstringThe process ID of the underlying qemu process
cdromstringThe path to an ISO image used in the VM's CD-ROM device
vmNamestringThe Name of the Vm
bootVmBootModeAn alias for the type of device used to boot the VM
statusTimestringTime in milliseconds when this structure was created. It is used to order vm status updates by a client.
clientIpstringThe IP address of the client connected to the display
pauseCodestringIndicates the reason a VM has been paused
vmJobsVmJobsMapInfo about active vm jobs
memUsagestringThe percent of memory in use by the guest
displayInfoVmDisplayInfoDisplay and graphics device informations.
vcpuCountstringNumber of vCPUs assigned to the VM
displayTypeVmDisplayTypeThe type of display in use
monitorResponsestringIndicates if the qemu monitor is responsive
appsListstringA list of installed applications with their versions
guestCPUCountintThe number of CPU cores are visible as online on the guest OS. This value is -1 if not supported to report
disksUsageGuestMountInfoInfo about mounted filesystems as reported by the agent
displayPortstringThe port in use for unencrypted display data
netIfacesGuestNetworkDeviceInfoNetwork device address info as reported by the agent
displaySecurePortstringThe port in use for encrypted display data
sessionGuestSessionStateThe current state of user interaction with the VM
guestContainersGuestContainerInfoA list of running containers in the Vm
hashstringhash
statusVmStatusThe current VM status


VmWatchdogDeviceModel:
An enumeration of VM watchdog device models.
Values
IB700emulating an ISA iBase IB700 as watchdog
i6300esbthe recommended device, emulating a PCI Intel 6300ESB


HostDeviceAddress:
A host device address
Types
PCIAddressPCIAddress
SCSIAddressSCSIAddress
USBAddressUSBAddress


IscsiHba:
Information about an iSCSI host bus adapter.
Members
InitiatorNamestringiSCSI initiator


VmDeviceAddress:
A discriminated record of device address information.
Types
VmDevicePciAddressVmDevicePciAddress
VmDeviceIdeAddressVmDeviceIdeAddress
VmDeviceVirtioSerialAddressVmDeviceVirtioSerialAddress


VmConsoleDeviceType:
Type of console to be used
Values
serialConfigures a serial port console device and adds a serial port controller device
virtioConfigures a virtio console device


DrivePayload:
The detailed specification of the image contents
Members
vmPayloadDriveVmPayloadSpecifies data to be inserted into the VM Disk


FenceNodeResult:
Result of fenceNode command.
Members
operationStatusFenceNodeOperationStatusResultstatus of fence action executions for 'on', 'off' and 'reboot' actions
powerFenceNodePowerStatusResultpower status of host as a result of 'status' action


VmTpmDeviceSpecParams:
Additional VM tpm device parameters.
Members
modelVmTpmDeviceModelModel of TPM device
pathstringPath to hosts device TPM
modeVmTpmDeviceModeProtocol used by tpmdevice


VmChannelDeviceType:
An enumeration of VM channel device types.
Values
unixThe host end of the channel is a unix socket
virtio-serialThis channel supports a virtio-serial connection
spicevmcThis channel is used for SPICE communication


WatchdogEvent:
The message of watchdog event when it is triggered
Members
actionWatchdogEventActionAction whatchdog takes when event is triggered
timefloatTime the whatchdog event is triggered in seconds since the epoch


VmInterfaceDevice:
Properties of a VM network interface device.
Members
specParamsVmInterfaceDeviceSpecParamsAdditional device parameters
addressVmDeviceAddressDevice hardware address
aliasstringAlias used to identify this device in commands
customStringMapA dictionary of custom, free-form properties for device.
nicModelVmInterfaceDeviceModelThe type of device that is exposed to the VM operating system
macAddrstringThe unique ethernet hardware address of the device
deviceVmInterfaceDeviceTypeThe host network device type used to create the connection
linkActivebooleanWhether the VM network card has its link active (up) or not (down). If omitted, the link will be active
portMirroringstringIf present, indicates the traffic of which networks should be mirrored to the interface.
deviceIdUUIDA unique ID for this device
deviceTypeVmDeviceTypeThe device type (always interface)
bootOrderuintIf specified, this device is part of the boot sequence at the specified position
networkstringThe name of the attached host bridge device
filterstringThe name of the referenced network filter
filterParametersVmInterfaceDeviceFilterParametersThe list of parameters of the network filter. Applicable only if 'filter' is supplied.


VolumeStatus:
An enumeration of Volume statuses.
Values
ILLEGALThe Volume is not legal
OKThere are no problems with the Volume or metadata
INVALIDThe Volume and metadata are not valid


BalloonInfo:
Guest memory balloon information. Values are present only when the balloon is enabled and ready.
Members
balloon_curstringThe current amount of memory available to the guest (in KiB)
balloon_maxstringThe maximum amount of memory available to the guest (in KiB)
balloon_minstringThe minimum amount of memory guaranteed to the guest (in KiB)
balloon_targetstringThe amount of memory requested (in KiB)


Lease:
External sanlock lease
Members
sd_idUUIDThe storage domain id where this lease is stored
lease_idUUIDThe unique id of this lease


VmBalloonDeviceModel:
An enumeration of VM balloon device models.
Values
noneIndicates that no device is present
virtioA balloon implemented using the virtio specification


VmDeviceIdeAddress:
Device address for an IDE device.
Members
unituintThe unit number on the IDE bus
controlleruintThe IDE controller number
busuintThe IDE bus number
addressTypeVmDeviceAddressTypeThe device address type (always drive)


NetInfoNicMap:
A mapping of NIC information indexed by device name.
Key
stringstring
Value
NetInfoNicNetInfoNic


SharedDriveType:
Specifies the share policy for a VM disk drive.
Values
exclusiveThe disk is used exclusively by this VM
noneSame as exclusive but no locking mechanism is used
sharedThe disk is shared between multiple VMs


VmSoundDeviceType:
An enumeration of VM sound device types.
Values
pcspkAn emulated PC speaker
ich6An emulated Intel ICH6 card
sb16An emulated Creative Labs Sound Blaster 16 card
hdaAn emulated Intel High-Definition Audio card
ac97An emulated Intel 82801AA AC97 Audio card
es1370An emulated ENSONIQ AudioPCI ES1370 card


Tlv:
LLDP Information
Arguments
None


ManagedVolumeConnection:
Managed Volume Connection information. The data structure is according to Cinder output.
Members
driver_volume_typestringThe volume type (iscsi, fibre_channel, rbd)
dataStringMapA map containing needed information about the volume. The specific options change according to the volume type.


NumaTune:
Information about a vm numatune configuration
Members
modestringThe numatune mode. Either 'interleave', 'strict', or 'preferred', defaults to 'strict'.
nodesetstringSpecify the numa nodes that the vm will use. Refer to http://libvirt.org/formatdomain.html#elementsNUMATuning for the format details.
memnodesMemNodeList of pinning information


VmWatchdogDeviceType:
An enumeration of VM watchdog device types.
Values
watchdogDevice type watchdog


SetupNetworkNetAttributes:
Configuration attributes for a single host network.
Members
bootprotostringInterface autoconfiguration protocol (typically 'dhcp' or 'none')
dhcpv6booleanWhether use DHCPv6
ipv6autoconfbooleanWhether use stateless autoconfiguration
nicstringIf the network is not bonded, an array containing a single network device name
hostQosHostQoSParamshost traffic QoS params.
ipv6addrstringAssign this static IPv6 address to the interface ('<ip>/<prefixlen>')
ipv6gatewaystringIPv6 address of the network gateway
gatewaystringAssign this gateway to the network
vlanstringThe name of an associated vlan
ipaddrstringAssign this static IP address to the network
removebooleanIf True, remove existing network only
customStringMapA dictionary of custom, free-form properties for network.
bondingstringIf the network is bonded, the name of the bond device
netmaskstringAssign this netmask to the network
defaultRoutebooleanboolean - Is this network's gateway the host's default gateway?
nameserversstringList of nameservers
switchstringSpecify Switch. Legacy is used if not passed


NumaNodeDistanceMap:
A mapping of distance information between each two numa nodeskey -- The numa node indexvalue -- Distance list from self to other nodes in sequence,including self to self
Key
stringstring
Value
uintuint


NumaNodeMemoryStats:
Statistics about the memory of a numa node.
Members
memFreestringThe amount of free memory (in MB)
memPercentuintThe ratio of used memory


ImageSharingMethodArgs:
A discriminated record to store the arguments used by the sharing method.
Types
ImageSharingMethodArgsHttpImageSharingMethodArgsHttp


ExternalVmInfo:
map of VM properties
Members
disksExternalDiskInfolist of disk devices
allocationVolumeAllocationdisk allocation type (sparse, preallocated)
memSizeuintsize of actual memory in MB
smpuintnumber of cpu
virtio_iso_pathstringpath for iso contains virtio guest drivers
vmIdUUIDThe VM uuid
vmNamestringThe name of the VM
statusVmStatusThe current VM status
networksExternalNetworkInfolist of network devices
formatVolumeFormatconverted disk format (raw, cow etc)
graphicsstringgraphics supported by libvirt (spice, vnc etc)
videostringvideo supported by libvirt (qxl, vga etc)
has_snapshotsbooleanInformation on whether the VM has snapshots or not.


VmRngDeviceModel:
An enumeration of VM rng device models
Values
virtiosupported by qemu and virtio-rng kernel module


StorageDomainStats:
Storage Domain statistics.
Members
mdafreeintThe amount of free space in the metadata area in bytes
mdathresholdbooleanIndicates if the metadata has exceeded its size threshold
diskfreeintThe amount of free storage space in bytes
mdavalidbooleanIndicates if the metadata area is large enough
disktotalintThe amount of total storage space in bytes
mdasizeintThe size of the metadata area in bytes


HostJobInfo:
A discriminated record providing information about a long-running operation on a host.
Members
errorErrorInfoIf the job has failed, information about the error
progressuintIf the job can report progress in the current state, an integer (0-100) indicating the progress
idUUIDThe job UUID
statusHostJobStatusThe job status
descriptionstringA description of the job or the current status of the job (for debugging purposes)
job_typeHostJobTypeThe specific job type


PathStats:
Statistics about a host filesystem path.
Members
freestringThe amount of free space remaining (in MB)


TasksStatus:
A mapping of Task statuses indexed by Task UUID.
Key
UUIDUUID
Value
TaskStatusTaskStatus


NetworkDiskHostInfo:
Map of network disk host information
Members
namestringIP address or DNS name
transportstringTransport protocol
portstringPort number


BandwidthCurve:
Bandwidth traffic shaping curve parameters for Host networking QoS.
Members
duintAmount of microseconds the burst can be applied.
m1intBurst rate in bits per second.
m2intAverage rate in bits per second.


ImagePostZeroMap:
A mapping of postZero selectors indexed by Image UUID.
Key
UUIDUUID
Value
booleanboolean


NetInfoNetwork:
A discriminated record to store information about a VDSM network.
Types
NetInfoBridgedNetworkNetInfoBridgedNetwork
NetInfoBridgelessNetworkNetInfoBridgelessNetwork


HookScriptAdditional:
A mapping of hook script information
Members
any_stringHookScriptInfoA key for hook script information


VolumeFormat:
An enumeration of Volume data formats.
Values
RAWThe Volume writes raw data directly to the backing image
COWThe Volume uses the Qemu Qcow image format


HostJobStatus:
The execution state of a HostJob (string)
Values
failedThe job has failed
runningThe job is running
doneThe job has finished successfully
pendingThe job is has not started yet
abortedThe job was aborted by user request


SubchainInfo:
A descriptor for a (cold) merge volumes operation.
Members
sd_idUUIDThe UUID of the Storage Domain
img_idUUIDThe UUID of the Image
top_idUUIDThe UUID of the top Volume
base_idUUIDThe UUID of the base Volume
base_generationuintThe expected generation of the base volume


ConvergenceSchedule:
Map of actions which will be executed before migration starts and list of actions which will be executed as a reaction to stalling.
Members
stallingConvergenceItemThe list of actions executed as a reaction to stalling
initConvergenceActionThe list of actions executed before migration


WatchdogEventAction:
An enumeration of action that watchdog takes when it is triggered.
Values
resetGuest CPUs are reset
pauseGuest CPUs are paused
logNo action, a debug message logged
ignoreNo action, watchdog ignored
shutdownGuest is requested to gracefully shutdown
destroyGuest is forcibly powered off


VmExitCode:
An enumeration of final VM exit status codes.
Values
NORMALThe VM has exited gracefully
ERRORThe VM has terminated with errors


NetInfoBond:
Information about a ethernet bond device
Members
dhcpv4booleanWhether DHCPv4 was used to set up the bond.
ipv6addrsstringA list of IPv6 addresses in the format of 'address/prefixlen' that are assigned to the bond device
hwaddrstringThe Media Access Control address being used by the bond device
ipv6gatewaystringThe default IPv6 gateway for the bridge device
slavesstringA list of devices that are enslaved to the bond device
optsStringMapA map of options; the values are numeric, but reported as strings
active_slavestringActive slave of the bond if exists, '' otherwise
ipv4addrsstringA list of IPv4 addresses in the format of 'address/prefixlen' that are assigned to the vlan device
mtustringThe Maximum Transmission Unit size for the nic
netmaskstringThe primary IPv4 netmask of the defined subnet
dhcpv6booleanWhether DHCPv6 was used to set up the network.
addrstringThe primary IPv4 address assigned to the bond device
ipv6autoconfbooleanWhether use stateless autoconfiguration
gatewaystringAssign this gateway to the network
ipv4defaultroutebooleanWhether the gateway is the host default
switchstringSpecify Switch. Legacy is used if not passed


VmJobInfo:
Information about a currently active block job.
Types
BlockJobInfoBlockJobInfo


VmHostDeviceSpecParams:
Additional VM host device parameters.
Members
iommuPlaceholderbooleanFlag identifying that the device should not be passed through, but needs to be detached and reattached in order not to violate IOMMU group restrictions.


VmTpmDeviceType:
An enumeration of VM tpm device types.
Values
tpmA tpm


LldpMap:
A mapping from interface name to LLDP information
Key
stringstring
Value
LldpLldp


VmDiskDeviceVolumeChainEntry:
Identifies one volume in a VM disk device volume chain.
Members
pathstringThe filesystem path to the volume
imageIDUUIDThe UUID of the image that contains the volume
domainIDUUIDThe UUID of the storage domain that contains the volume
volumeIDUUIDThe UUID of the volume itself


VolumeGroupAttributeResizeable:
An enumeration of possible values for the resizeable attribute.
Values
zThe Volume Group is resizeable
-The Volume Group is not resizeable


vmUpdateXMLDeviceParams:
Parameters for VM.updateDevice
Members
xmlstringXML snippet about the device to update


FcHba:
Information about a FibreChannel host bus adapter.
Members
modelstringModel of installed FibreChannel card
wwpnstringWorld-wide port name
wwnnstringWorld-wide node name


HostNetworkInterfaceStats:
Statistics about a single host network interface.
Members
rxErrorsstringThe number of incoming packets that have contained errors
namestringThe network device name
stateNetworkInterfaceStateIndicates whether the interface is currently active
rxstringThe number of incoming bytes in total
txDroppedstringThe number of outgoing packets that have been dropped
txErrorsstringThe number of outgoing packets that have contained errors
speedstringThe interface speed (in Megabits/s)
txstringThe number of outgoing bytes in total
sampleTimefloatTime stamp of the sample
rxDroppedstringThe number of incoming packets that have been dropped


VolumeSizeInfo:
Volume size information:
Members
truesizeuintThe amount of underlying storage allocated (in bytes)
apparentsizeuintThe size of the Volume (in bytes)


GuestMountInfo:
Information about a mounted filesystem as reported by the guest agent.
Members
useduintThe amount of free space on the filesystem in bytes
pathstringThe filesystem mount point
fsstringThe filesystem type
totaluintThe total amount of space on the filesystem in bytes


HookScriptInfo:
Information about one script within a hook.
Members
md5stringThe md5 sum of the script


VmStats:
A discriminated record containing virtual machine statistics.
Types
ExitedVmStatsExitedVmStats
RunningVmStatsRunningVmStats


ImageMoveOperation:
An enumeration of Image move operations.
Values
UNKNOWNThis operation is invalid
MOVEThe Image is copied to the destination and removed from the source
COPYThe Image is copied to the destination


VmSmartcardDeviceProtocol:
An enumeration of VM smartcard device protocols.
Values
spicevmcUse smartcard channel of SPICE


VmTpmDeviceMode:
An enumeration of VM tpm device types.
Values
passthroughuse hosts TPM


StorageDomainCreateArguments:
A discriminated record of Storage Domain creation parameters.
Types
StorageDomainCreateArgumentsBlockStorageDomainCreateArgumentsBlock
StorageDomainCreateArgumentsLocalStorageDomainCreateArgumentsLocal
StorageDomainCreateArgumentsNfsStorageDomainCreateArgumentsNfs


PCIAddress:
PCI address
Members
domainstringdomain
busstringbus
slotstringslot
functionstringfunction


VmDevice:
A discriminated record containing VM device properties.
Types
VmDiskDeviceVmDiskDevice
VmInterfaceDeviceVmInterfaceDevice
VmVideoDeviceVmVideoDevice
VmSoundDeviceVmSoundDevice
VmControllerDeviceVmControllerDevice
VmBalloonDeviceVmBalloonDevice
VmChannelDeviceVmChannelDevice
VmWatchdogDeviceVmWatchdogDevice
VmConsoleDeviceVmConsoleDevice
VmSmartcardDeviceVmSmartcardDevice
VmGraphicsDeviceVmGraphicsDevice
VmHostDeviceVmHostDevice
VmRngDeviceVmRngDevice
VmTpmDeviceVmTpmDevice
VmLeaseDeviceVmLeaseDevice


ImageSharingMethod:
Specifies the method used to share (upload/download) an image.
Values
httpUpload or download an image using http


V2VJobs:
A mapping of VM job information indexed by job UUID.
Key
UUIDUUID
Value
V2VJobInfoV2VJobInfo


ExternalDiskParams:
Disk information for importing external source
Members
imageIDUUIDThe UUID of the image that contains the volume
volumeIDUUIDThe UUID of the volume


VmHostDevice:
Properties of a VM host device.
Members
specParamsVmHostDeviceSpecParamsAdditional device parameters
devicestringLibvirt identifier of the device (such as pci_0000_10_0_1)
deviceTypeVmDeviceTypeThe device type (always hostdev)
deviceIdUUIDA unique ID for this device
addressVmDeviceAddressDevice hardware address as seen from the guest. If not specified, this field will be populated by libvirt generated address.
aliasstringAlias used to identify this device in commands
bootOrderintIf specified, this device is part of the boot sequence at the specified position


HostJobInfoMap:
A mapping of HostJobInfo records indexed by job UUID.
Key
UUIDUUID
Value
HostJobInfoHostJobInfo


StringListMap:
A mapping from string to a list of strings.
Key
stringstring
Value
stringstring


MultipathStatus:
Regularly collected multipath health status.
Arguments
None


BlockDevicePathState:
Enumeration of possible states for a block device path.
Values
activeThe path is active
failedThe path has failed


NetInfoNetworkMap:
A mapping of vdsm Network information indexed by network name.
Key
stringstring
Value
NetInfoNetworkNetInfoNetwork


USBAddress:
USB address
Members
busstringbus
devicestringdevice


IscsiConnectionParameters:
Parameters for initiating a new ISCSI connection.
Members
tpgtstringThe Target Portal Group Tag to use
portstringA port number
connectionstringA fully-qualified domain name (FQDN) or IP address
iqnstringThe ISCSI Qualified Name
userstringThe username used for authentication to an ISCI target
passwordstringThe password associated with the given username
idUUIDA UUID that will be used to identify this connection in subsequent API calls.


HostedEngineStatus:
Hosted Engine subsystem status, according to each host.
Members
configuredbooleanIndicates if Hosted Engine is configured on this host
scoreuintNumeric host score
localMaintenancebooleanIndicates if host is in local HA maintenance mode
globalMaintenancebooleanIndicates if cluster is in global maintenance mode
activebooleanIndicates if the HA agent is alive and updating data


DriveSpecVolume:
A drive specification that refers to a Volume managed by Vdsm.
Members
volumeIDUUIDThe UUID of the target Volume
deviceVmDiskDeviceTypeThe disk device type (should be disk)
poolIDUUIDThe Storage Pool containing the Volume
domainIDUUIDThe Storage Domain containing the Volume
imageIDUUIDThe Image associated with the Volume


SnapshotDriveInfo:
A discriminated record of snapshot information for a VM disk.
Types
SnapshotVolumeDriveInfoSnapshotVolumeDriveInfo
SnapshotGUIDDriveInfoSnapshotGUIDDriveInfo
SnapshotUUIDDriveInfoSnapshotUUIDDriveInfo


VmVideoDeviceSpecParams:
Additional parameters for VM video devices.
Members
ramuintsize of the primary bar for qxl in KB, rejected by libvirt for 'cirrus' or 'vga'
vgamemuintframebuffer size for qxl in KB, rejected by libvirt for 'cirrus' or 'vga'
vramuintvalue of virtual ram in KB, for 'cirrus' the default is '9216' for qxl is the size of the secondary bar,
headsuintSpecify the amount of monitors that will use single pci device. Currently relevant for qxl devices only


ImageSharingMethodArgsHttp:
Specific arguments used to to share (upload/download) an image using http.
Members
headersStringMapAdditional http headers to be used in the request
urlstringUrl where upload or download the image


MigrateParams:
Parameters for VM.migrate.
Members
modeMigrateModeThe migration mode. Callers of this API should use remote. For file migration use VM.hibernate.
dststringThe destination host in <host>[:<port>] format. The port is optional and should usually be omitted.
autoConvergebooleanForce convergence during live migration.
maxBandwidthintmaximal bandwidth used by the migration (MiB/s)
vmIdUUIDThe UUID of the virtual machine to migrate
compressedbooleanCompress repeated pages during live migration.
consoleAddressstringThe destination host graphics address in format: hostname[:port]/[?tlsPort] port and tlsPort are optional.
dstparamsstringUsed only by the hibernate API. Ignored for remote migration
dstqemustringThe destination's host address dedicated for migration.
tunneledbooleanuse libvirt's tunneled migration. default it False.
convergenceScheduleConvergenceScheduleinitial actions and actions to perform when stalling
methodMigrateMethod
abortOnErrorbooleanAbort migration on I/O errors and refuse to migrate VMs, paused due to EIO
enableGuestEventsbooleanwhether or not to send migration/hibernation events to the guest operating systems
outgoingLimituintmaximum number of outgoing migrations. Must be > 0.
incomingLimituintmaximum number of incoming migrations. Must be > 0.


VmWatchdogDeviceSpecParams:
Additional parameters for VM watchdog devices.
Members
modelVmWatchdogDeviceModelThe watchdog device model in use
actionVmWatchdogDeviceActionThe watchdog timeout action


HibernationVolumeHandle:
Indicates where VM hibernation state and metadata should be stored.The format is:<domainUUID>,<poolUUID>,<stateImageUUID>, <stateVolumeUUID>,<metaImageUUID>,<metaVolumeUUID>
Type
HibernationVolumeHandlestringIndicates where VM hibernation state and metadata should be stored.The format is:<domainUUID>,<poolUUID>,<stateImageUUID>, <stateVolumeUUID>,<metaImageUUID>,<metaVolumeUUID>


VmParameters:
Parameters for creating a new virtual machine
Members
hypervEnablebooleanEnables hyperv specific optimizations for the Guest OS.
displayVmDisplayTypeThe type of display
launchPausedbooleanIf present, launch the VM in pause mode.
memSizeuintThe amount of memory assigned to the VM in MB
smpThreadsPerCorestringIndicates the number of CPU threads per core
smpstringThe number of CPUs presented to the VM
guestNumaNodesGuestNumaNodeIndicates the guest numa topology.
vmIdUUIDThe VM UUID
bootMenuEnablestringenable the BIOS boot menu
customStringMapA dictionary of custom, free-form properties
devicesVmDeviceAn array of VM devices requested
kvmEnablestringIndicates if KVM hardware acceleration is enabled
transparentHugePagesstringIndicates if the Transparent Huge Pages feature is enabled for this virtual machine
vmNamestringThe VM name
timeOffsetstringThe time difference from host to the VM in seconds
nicestringThe host scheduling priority
numaTuneNumaTuneIndicates the numatune configuration.
smpCoresPerSocketstringIndicates the number of CPU cores per socket
cpuSharesstringThe host scheduling priority (relative to other VMs). In case both cpuShares and nice are present, cpuShares will be used.
acpiEnablestringIndicates if ACPI is enabled inside the VM
vmTypeVmTypeThe type of VM
emulatedMachinestringThe emulated machine type
memGuaranteedSizeuintThe amount of memory guaranteed to be available to the VM in MB
cpuTypestringThe model of CPU to emulate
maxMemSizeuintThe maximum amount of the memory this VM could have. Needed for the memory hotplug. FIXME find the unit size.
maxMemSlotsuintThe number of emulated memory slots for this VM. Needed for the memory hotplug.
smartcardEnablestringIndicates if the smartcard support is enabled for this VM.
pitReinjectionstringIndicates if the PIT reinjection is enabled for this VM. DEPRECATED.
displayNetworkstringThe network this VM should use for the graphic display connections. DEPRECATED.
maxVCpusstringThe maximum number of virtual CPUs this VM could support. Needed for the CPU hotplug.
agentChannelNamestringThe name to use for the oVirt guest agent channel. When not specified the legacy name 'com.redhat.rhevm.vdsm' will be used.
xmlstringDomain XML to passthrough to libvirt


VmDeviceAddressType:
An enumeration of VM device address types.
Values
pciThe address describes a location on an PCI bus
driveThe address describes a location on an IDE bus
virtio-serialDescribes a location on a virtio-serial controller


HostDevices:
Mapping of device names to device details
Key
stringstring
Value
HostDeviceHostDevice


NumaNodeMemoryStatsMap:
A mapping of numa node memory stats indexed by node index.
Key
stringstring
Value
NumaNodeMemoryStatsNumaNodeMemoryStats


HostIdMap:
A mapping of hostId indexed by domain UUID.
Key
UUIDUUID
Value
intint


VmMemoryDeviceType:
An enumeration of VM memory device types.
Values
memoryA memory device


StorageDomainInfo:
Information about a Storage Domain.
Members
roleStorageDomainRoleThe Storage Domain role
lverintThe lock version of the associated Storage Pool
versionintThe version of this Storage Domain
typeStorageDomainTypeThe type of backing storage used by this domain
namestringThe human-readable name for this Storage Domain
poolUUIDThe Storage Pool associated with this Storage Domain
master_verintThe version of the master Storage Domain
classStorageDomainImageClassThe Storage Domain class
spm_idintContains the Host ID of the Storage Pool Manager
uuidUUIDThe Storage Domain UUID
metadataDevicestringThe GUID of the first device containing the domain metadata lv for block storage domains only
vgMetadataDevicestringThe GUID of the device containing the domain vg metadata for block storage domains (optional)


BandwidthParams:
Bandwidth traffic shape parameters for VM Interface device expressed as integers.
Members
burstuintAmount of data that can be burst at peak speed in kB.
averageuintAverage bit rate of the interface being shaped in kB/sec.
peakuintMaximum rate at which interface can send data in kB/sec.


VmConsoleDevice:
Properties of a VM console device.
Members
deviceIdUUIDA unique ID for this device
specParamsVmConsoleDeviceSpecParamsAdditional device parameters
deviceTypeVmDeviceTypeThe device type (always console)


StringMap:
A mapping between arbitrary strings.
Key
stringstring
Value
stringstring


VolumeLegality:
An enumeration of Volume Legality indicators.
Values
ILLEGALThe Volume should no longer be used (because it is being deleted)
LEGALThe Volume is legal
FAKEThe Volume is a fake template on a backup domain


LocalFsConnectionParameters:
Parameters for initiating a connection to local storage.
Members
pathstringThe local filesystem path


SetupNetworkOptions:
Additional options for setupNetworks.
Members
connectivityCheckintAfter reconfiguration, check for network connectivity and roll back if necessary
connectivityTimeoutintThe amount of time to wait before failing the connectivity check in seconds


OVFMap:
A mapping of OVF data indexed by VM UUID.
Key
UUIDUUID
Value
stringstring


VmDiskDevice:
Properties of a VM disk device.
Members
readonlybooleanIndicates if writes are prohibited for the device
apparentsizeuintThe size of the disk (in bytes)
volumeIDUUIDThe UUID of the underlying Volume object
indexintThe drive index
pathstringThe filesystem path to the drive's volume
hostsNetworkDiskHostInfoList of network disk host info objects. At least one host is required if diskType is set to "network"
volumeChainVmDiskDeviceVolumeChainEntryThe sequence of Volume objects needed to construct the disk
deviceVmDiskDeviceTypeThe disk device type (eg. cdrom or disk)
diskTypestringDisk type name. Currently only the "network" type is supported
bootOrderuintIf specified, this device is part of the boot sequence at the specified position
formatVmDiskDeviceFormatThe format used to store data on the backing storage
truesizeuintThe amount of underlying storage allocated (in bytes)
ifaceVmDiskDeviceInterfaceIndicates the device connection method exposed to the guest
protocolstringNetwork disk protocol. Required if diskType is set to "network"
propagateErrorsbooleanIf enabled, disk I/O errors will be reported to vdsm for possible resolution (eg. allocating more space)
specParamsVmDiskDeviceSpecParamsAdditional device parameters
aliasstringAlias used to identify this device in commands
sharedVmSharedDriveTypeIndicates if this disk is intended to be shared by multiple virtual machines
optionalbooleanStates if the VM may start if the disk is not present
baseVolumeIDUUIDWhen used as a parameter to VM.merge, indicates the Volume that should become the new base volume
namestringA user-friendly device name for display only
addressVmDeviceAddressDevice hardware address
imageIDUUIDThe UUID of the underlying Image object
poolIDUUIDThe UUID of the underlying Storage Pool object
deviceIdUUIDA unique ID for this device
deviceTypeVmDeviceTypeThe device type (always disk)
domainIDUUIDThe UUID of the underlying Storage Domain object
authNetworkDiskAuthInfoNetwork disk auth info


VmRngDevice:
Properties of a VM rng device.
Members
specParamsVmRngDeviceSpecParamsAdditional device parameters
modelVmRngDeviceModelThe model of rng device
deviceTypeVmDeviceTypeThe device type (always rng)
deviceVmRngDeviceTypeThe type of rng device


BulkIoTunePolicy:
Io tune policy info and current values for a vm
Members
policyVmDiskDeviceTuneLimitsIo tune policy info
current_valuesVmDiskDeviceTuneParamsIo tune policy current values


HbaInventory:
Information about all available host bus adapters.
Members
FCFcHbaList of FibreChannel HBAs
iSCSIIscsiHbaList of iSCSI HBAs


MigrationStats:
A discriminated record containing virtual machine migration statistics. discriminating field: status,status.done returns MigratedStats; status.in_progress returns MigratingStats
Types
MigratedStatsMigratedStats
MigratingStatsMigratingStats


ExitedVmStats:
Statistics about a VM that no longer running.
Members
exitMessagestringDetailed reason for the virtual machine exit
exitCodeVmExitCodeCode indicating whether the VM exit was normal or in error
vmIdUUIDThe UUID of the Vm
timeOffsetintThe time difference from host to the VM in seconds
statusVmStatusThe current VM status
exitReasonVmExitReasonThe specific exit reason code


V2VJobInfo:
Structure for current v2v jobs status
Members
idUUIDAn ID that was associated with the job when it was started
statusstringIndicates jobs status (done, error, aborted, copying_disk, starting)
descriptionstringDescription for the current status such as error or copying disk description.
progressuintJob progress between 0-100


NumaNode:
Information about a host numa cell
Members
cpusuintThe cpu ids in this numa node. The cpu id is described in libvirt's capabilities api. When hyper-thread is enabled, one cpu core id will correspond to two sibling cpu ids.
totalMemorystringThe total memory of this numa node in MiB.


NetworkInterfaceState:
An enumeration of possible network interface states.
Values
downThe interface is not active
unknownThe interface state is unknown
upThe interface is active


GuestNumaNode:
Information about a guest numa node(also known as cell)
Members
cpusstringThe guest cpu ids in this guest numa node. Refer to http://libvirt.org/formatdomain.html#elementsCPU for the format details.
nodeIndexintThe index of the guest numa node
memoryintThe total memory of this guest numa node in MiB.


VmSoundDevice:
Properties of a VM sound device.
Members
specParamsVmSoundDeviceSpecParamsAdditional device parameters
deviceVmSoundDeviceTypeThe type of sound hardware exposed to the VM operating system
deviceIdUUIDA unique ID for this device
deviceTypeVmDeviceTypeThe device type (always sound)
aliasstringAlias used to identify this device in commands
addressVmDeviceAddressDevice hardware address


NBDServerConfig:
NBD server configuration.
Arguments
None


CopyDataEndpointType:
An enumeration of possible CopyDataEndpoint types
Values
divA vdsm volume identified by domain, image, and volume UUIDs


VmType:
Enumeration of supported virtual machine types.
Values
kvmVM runs on Linux Kernel Virtual Machine


SnapshotUUIDDriveInfo:
Snapshot information for a VM disk that is identified by a block device UUID.
Members
baseUUIDUUIDThe block device ID associated with the VM disk
UUIDUUIDThe block device ID in which to create the snapshot


SoftwarePackageInfoMap:
A mapping of information indexed by software package name.
Key
SoftwarePackageSoftwarePackage
Value
SoftwarePackageInfoSoftwarePackageInfo


VmBalloonDevice:
Properties of a VM balloon device.
Members
deviceIdUUIDA unique ID for this device
deviceVmBalloonDeviceTypeThe type of balloon device
specParamsVmBalloonDeviceSpecParamsAdditional device parameters
deviceTypeVmDeviceTypeThe device type (always balloon)
aliasstringAlias used to identify this device in commands
addressVmDeviceAddressDevice hardware address


HotplugMemoryParams:
Parameters for VM.hotplugMemory.
Members
vmIdUUIDThe UUID of the VM to modify
memGuaranteedSizeuintThe amount of memory guaranteed to the VM in MB
memoryVmMemoryDeviceThe memory device specification


VmDiskDeviceTuneLimits:
Extra parameters for VM disk devices. Either name, path or all 4 IDs must be present
Members
namestringThe name of the target device
pathstringThe path of the target device
domainIDUUIDDomainId
poolIDUUIDPoolId
imageIDUUIDImageId
volumeIDUUIDVolumeId
maximumVmDiskDeviceIoTuneParamsIO tune parameters - the hard limits
guaranteedVmDiskDeviceIoTuneParamsIO tune parameters - guaranteed values


DeviceVisibilityMap:
A mapping of boolean values indexed by block device GUID.
Key
UUIDUUID
Value
booleanboolean


VolumeGroupInfo:
Information about a Volume Group.
Members
vgUUIDUUIDThe uuid of the Volume Group
vgsizestringThe total capacity (in bytes)
namestringThe Volume Group name
attrVolumeGroupAttributesAdditional attributes
stateVolumeGroupStateThe state of this Volume Group's underlying storage
vgfreestringThe amount of currently unassigned capacity (in bytes)
typeStorageDomainTypeThe type of backing storage used by this domain
pvlistPhysicalVolumeInfoPhisical volume list


VolumeInfo:
A descriptor for an Image on a vdsm Storage Domain.
Members
sd_idUUIDThe UUID of the Storage Domain
img_idUUIDThe UUID of the Image
vol_idUUIDThe UUID of the Volume


VmDisplayType:
An enumeration of VM display modes.
Values
vncGraphical VM interaction is available via the VNC protocol
qxlGraphical VM interaction is available via SPICE


BlockDevicePathInfo:
Information about a single block device path.
Members
lunstringThe SCSI Logical Unit Number associated with this path
capacitystringThe path size (in bytes)
typeBlockDeviceTypeThe type of path (BlockDeviceType)
stateBlockDevicePathStateThe current state of this path
physdevstringThe physical device name


HardwareInformation:
Host hardware fields.
Members
systemProductNamestringHost's hardware module
systemUUIDstringHost's hardware UUID
systemManufacturerstringHost manufacturer's name
systemVersionstringHost's hardware version
systemFamilystringProcessor type
systemSerialNumberstringHardware serial number


StorageDomainDeviceMoveParams:
An descriptor for a storage domain device data move operation.
Members
sd_idUUIDThe UUID of the Storage Domain
guidstringThe GUID of the block device
dst_guidsstringOptional list of target block device GUIDs


IscsiSessionInfo:
Information about a single, active iSCSI session.
Members
usernamestringA login name on the iSCSI target
portalstringThe Target Portal Group Tag
iqnstringThe ISCSI Qualified Name
passwordstringThe password corresponding to username
portstringThe port number of the iSCSI target
connectionstringThe hostname of the iSCSI target
initiatornamestringiSCSI initiator


SnapshotGUIDDriveInfo:
Snapshot information for a VM disk that is identified by a devmapper GUID.
Members
GUIDUUIDThe devmapper device GUID in which to create the snapshot
baseGUIDUUIDThe devmapper device GUID associated with the VM disk


Checkpoint:
Configuration of the checkpoint
Members
idUUIDUUID of the checkpoint
disksVolumeInfoList of disks to be backed up
createduint


VmVideoDeviceType:
An enumeration of VM video device types.
Values
stdAn emulated standard VESA 2.0 VBE video card
noneNo video device is emulated
vmwareA paravirtualized VGA video device from VMWare(R)
qxlA paravirtualized video device meant for use with SPICE
cirrusAn emulated Cirrus Logic GD5446 video card


HotplugNicParams:
Parameters for VM.hotplugNic.
Members
vmIdUUIDThe UUID of the VM to modify
nicVmInterfaceDeviceThe network device specification
xmlstringXML snippet containing <devices> element with exactly one device. <metadata> element may be optionally present, providing device metadata. Used in hot plugs and hot unplugs.


SoftwarePackage:
An enumeration of aliases for important software components.
Values
kernelThe Linux kernel
glusterfs-rdmaSupports to ib-verbs library neede by Glusterfs
glusterfs-fuseFUSE based clients and glusterfsd
spice-serverThe server for SPICE protocol
librbd1RADOS block device client library
vdsmVirtual Desktop and Server Manager (this software)
qemu-kvmQemu virtual machine emulator
qemu-imgQemu VM disk image manipulation utility
libvirtLow level virtualization API
glusterfsGlusterfs binary and glusterfs translator modules common
momDynamically manage system resources on virtualization hosts
glusterfs-cliGlusterFS a distributed file-system cli
glusterfs-serverGlusterfs server daemon
glusterfs-geo-replicationGlusterfs geo-replication support


VMGuestTimezone:
Timezone configuration of the guest operating system
Members
offsetuintTime offset of the configured timezone in minutes
zonestringName of the timezone native to the Guest OS


StoragePoolStatus:
An enumeration of Storage Pool statuses.
Values
uninitializedThe Storage Pool has not been initialized
connectedVdsm is connected to the Storage Pool


NetworkDiskAuthInfo:
Authentication credentials needed to access a network disk
Members
usernamestringIdentifies the username
typestringLibvirt secret object type
uuidUUIDLibvirt secret object uuid


BlockDeviceStatus:
Enumeration of possible status for a block device.
Values
unknownThe device status is unknown
usedThe device is in use. A device will be considered used on the following cases: - a PV exists on this device and is part of a VG - a partition table is found on the device - The device may have a mounted file system
freeThe device is free


StorageDomainStatus:
An enumeration of Storage Domain statuses. There is inconsistenty (capitalization) between engien and vdsm so we keep both.
Values
attachedThe domain is attached to a Storage Pool but is deactivated
AttachedThe domain is attached to a Storage Pool but is deactivated
unknownThe status of the Storage Domain is not known
unattachedThe domain is not attached to a Storage Pool
ActiveThe domain is attached to a Storage Pool and is activated
UnknownThe status of the Storage Domain is not known
activeThe domain is attached to a Storage Pool and is activated
UnattachedThe domain is not attached to a Storage Pool


DriveSpecPayload:
A drive specification that describes the exact image contents.
Members
specParamsDrivePayloadAdditional drive parameters (including the payload information)
deviceVmDiskDeviceTypeThe type of disk device being created


StorageDomainFileStats:
Information about files contained within a Storage Domain.
Members
ctimeuintTime the file was last changed in seconds since the epoch
sizeuintSize of the file in bytes
statusintIndicates if the file is accessible


VolumeGroupAttributeAllocation:
An enumeration of possible values for the allocation policy attribute.
Values
aIndicates an anywhere allocation policy
iIndicates that the allocation policy is inherited
cIndicates a contiguous allocation policy
lIndicates a cling allocation policy
nIndicates a normal allocation policy


VmMemoryDevice:
Properties of a VM memory device
Members
sizeuintThe memory size to hotplug
nodeuintThe NUMA node to use for hotplug
deviceVmMemoryDeviceTypeThe type of the memory device
deviceIdUUIDA unique ID for this device
deviceTypeVmDeviceTypeThe device type (always memory)
aliasstringAlias used to identify this device in commands
addressVmDeviceAddressDevice hardware address


VolumeGroupAttributes:
A collection of Volume Group attributes.
Members
clusteredVolumeGroupAttributeClusteredIs clustered locking enabled?
permissionVolumeGroupAttributePermissionIs the Volume Group read-only or writable
partialVolumeGroupAttributePartialAre all Physical Volumes available?
resizeableVolumeGroupAttributeResizeableCan the Volume Group be resized?
allocationVolumeGroupAttributeAllocationWhat is the allocation policy?
exportedVolumeGroupAttributeExportedHas the Volume Group been exported?


VmVideoDevice:
Properties of a VM video device.
Members
specParamsVmVideoDeviceSpecParamsAdditional device parameters
deviceVmVideoDeviceTypeThe type of video device exposed to the VM operating system
deviceIdUUIDA unique ID for this device
deviceTypeVmDeviceTypeThe device type (always video)
aliasstringAlias used to identify this device in commands
addressVmDeviceAddressDevice hardware address


NetInfoBondMap:
A mapping of bond information indexed by device name.
Key
stringstring
Value
NetInfoBondNetInfoBond


StorageDomainImageClass:
An enumeration of Storage Domain classes.
Values
IsoThe Storage Domain is used for storing ISO images
DataThe Storage Domain is used for virtual machine disk images
BackupThe Storage Domain is used for import and export of disk images
UnknownThe class is not known


StorageDomainFileStatsMap:
A mapping of Storage Domain file statistics indexed by filename.
Key
stringstring
Value
StorageDomainFileStatsStorageDomainFileStats


SCSIAddress:
SCSI address
Members
hoststringhost
busstringbus
targetstringtarget
lunstringlun


Lldp:
LLDP Information
Arguments
None


UpdateVmDefinition:
Virtual machine definition data suitable for saving to a Storage Domain.
Members
vmUUIDThe VM UUID
imgliststringThe Images this VM depends on (a comma-separated string of UUIDs)
ovfstringThe VM definition in OVF format


ManagedVolumeAttachement:
Attached managed volume information.
Members
pathstringThe local volume path (for example /dev/dm-25, /dev/sda, /dev/rbd1)
typestringThe volume type (for example block)
scsi_wwnstringThe WWN scsi ID of the volume (optional)
multipath_idstringThe multipath ID of the volume (optional)
confstringThe Ceph local conf file path (optional)


VmSoundDeviceSpecParams:
Additional parameters for VM sound devices.
Members
None


StorageDomainStatusMap:
A mapping of Storage Domain statuses indexed by Storage Domain UUID.
Key
UUIDUUID
Value
StorageDomainStatusStorageDomainStatus


VmBalloonDeviceSpecParams:
Additional parameters for VM balloon devices.
Members
modelVmBalloonDeviceModelThe balloon device model in use


VolumeAttributes:
Possible attributes which are allowed to be changed in a volume.
Members
legalityVolumeLegalityLegality of the volume.
descriptionstringDescription of the volume. Up to 210 bytes. Longer values will be truncated
generationuintChange a volume's generation from a known value to a new value. The maximum value is 999 and the next increment will reset the value to 0. On each call to update_volume, the generation is increased, unless specified here. In that case, the provided generation will be used
typeVolumeRoleType of the volume. The only valid value is SHARED. Only a leaf volume without a parent can be changed to shared.


VmDeviceVirtioSerialAddress:
Device address for a virtio-serial port.
Members
controlleruintThe virtio-serial controller number
portuintThe port number on the virtio-serial bus
busuintThe virtio-serial bus number
addressTypeVmDeviceAddressTypeThe device address type (always virtio-serial)


vmUpdateDeviceParams:
A discriminated record of update parameters for a VM device.
Types
vmUpdateInterfaceDeviceParamsvmUpdateInterfaceDeviceParams
vmUpdateGraphicsDeviceParamsvmUpdateGraphicsDeviceParams
vmUpdateXMLDeviceParamsvmUpdateXMLDeviceParams


VolumeGroupAttributeExported:
An enumeration of possible values for the exported attribute.
Values
xThe Volume Group has been exported
-The Volume Group has not been exported


VmRngDeviceSource:
An enumeration of VM rng device models
Values
randomHost standard software+hardware based /dev/random
hwrngHost hardware entropy source


PosixFsConnectionParameters:
Parameters for initiating a new POSIX FS connection.
Members
specstringA string identifying the location of the target filesystem
vfstypestringThe Linux VFS filesystem type
optionsstringA comma-separated list of mount options


BlockDeviceInfo:
Block device information.
Members
pvsizeuintThe LVM physical volume size (in bytes)
statusBlockDeviceStatusThe device status (free/used/unknown)
capacityuintThe device logical size (in bytes)
vendorIDstringA string identifying the device manufacturer
discard_max_bytesulongThe maximal number of bytes that can be trimmed or unmapped in a single discard operation. 0 means that the device does not support discard functionality.
discard_zeroes_datauintDeprecated by the kernel since version 4.12 (see https://patchwork.kernel.org/patch/9641263/). Always returns 0 for backward compatibility.
productIDstringA string identifying the device model
pvUUIDUUIDThe LVM physical volume associated with this device
fwrevstringFirmware version information
devtypeBlockDeviceTypeThe type of storage device (BlockDeviceType)
pathlistIscsiSessionInfoiSCSI session information
partitionedbooleanReports whether the device has been split into partitions
GUIDUUIDThe globally unique identifier of the block device
logicalblocksizeuintThe logical block size of the device (in bytes)
physicalblocksizeuintThe physical block size of the device (in bytes)
serialstringThe device serial number (if available)
pathstatusBlockDevicePathInfoMultipath information


LoggingLevel:
An enumeration of logging verbosity levels.
Values
INFOLog informational messages and anything more severe
CRITICALLog only critical messages
WARNAn alias to WARNING
DEBUGLog everything (including debugging messages)
WARNINGLog warning messages and anything more severe
ERRORLog error messages and anything more severe
CRITAn alias to CRITICAL


StoragePoolUpgradeStatus:
An enumeration of Storage Pool upgrade job statuses.
Values
startedThe upgrade process has started


DriveSpecGUID:
A drive specification using a device mapper GUID.
Members
GUIDstringThe devmapper device GUID


GuestNetworkDeviceInfo:
Information about a VM network device as reported by the guest agent.
Members
namestringThe network device name
inetstringThe IPv4 addresses
hwstringThe MAC address
inet6stringThe IPv6 addresses


SetupNetworkBondConfig:
A mapping of bond device configuration attributes indexed by bond name.
Key
stringstring
Value
SetupNetworkBondAttributesSetupNetworkBondAttributes


BulkIoTunePolicyMap:
A map of io tune policies for all VMs
Key
UUIDUUID
Value
BulkIoTunePolicyBulkIoTunePolicy


TaskResult:
An enumeration of the possible final task results.
Values
cleanSuccessThe task failed but was successfully recovered
Task is in progress
cleanFailureThe task failed and recovery also failed
successThe task was successful


StorageDomainType:
An enumeration of Storage Domain types.
Values
0The type is not known
1The Storage Domain uses Network File System based storage
2The Storage Domain uses FibreChannel based storage
3The Storage Domain uses iSCSI based storage
4The Storage Domain uses storage on the local file system
6The Storage Domain uses posix file system
7The Storage Domain uses glusterfs


ManagedVolumeInformation:
Volume information after attachment.
Members
existsbooleanIndicate if the volume is attached to the host (path exists on the host) or not. Property is added only if volume was attached and has a path.
connection_infoManagedVolumeConnectionManaged volume connection information provided by Cinderlib
pathstringThe volume path to be used in the VM XML
attachmentManagedVolumeAttachementThe attached volume information
vol_idstringID of the volume


DriveVmPayload:
Directly specified data to be inserted into a VM.
Members
fileStringMapA dictionary of file contents indexed by filename


QemuImageFormat:
An enumeration of qemu image format.
Values
rawThe Volume writes raw data directly to the backing image
qcow2The Volume uses the Qemu Qcow image format


StorageDomainRole:
An enumeration of possible Storage Domain roles.
Values
RegularThe Storage Domain is not a Master domain
MasterThe Storage Domain contains Storage Pool metadata


ExternalDiskInfo:
Disk information from external source
Members
devstringguest device name (sda, sdb, etc)
aliasstringdevice path (file path)
capacityuintlogical size bytes
allocationuintcurrent allocation bytes
typestringdevice argument (disk, cdrom, lun)


FenceNodeAction:
Specifies the type of fencing operation to perform.
Values
statusJust fetch the current power status
onTurn on the remote host
offShut down the remote host
rebootReboot the remote host


HookScriptInfoMap:
A mapping of hook script information indexed by script name.
Key
stringstring
Value
HookScriptAdditionalHookScriptAdditional


VmTpmDevice:
Properties of a VM tpm device.
Members
specParamsVmTpmDeviceSpecParamsAdditional device parameters
deviceTypeVmDeviceTypeThe device type (always tpm)
deviceVmTpmDeviceTypeThe type of tpm device


UpdateVmPolicyParams:
QoS policy update data
Members
vcpuLimitintvcpu limit to set - the value is a percentage representation of the amount of cpu from the Host that the VM can consume
ioTuneVmDiskDeviceTuneLimitslist of ioTune limits to set


VolumeAllocation:
An enumeration of Volume allocation modes.
Values
SPARSEStorage is allocated as needed
PREALLOCATEDAll necessary storage is allocated at Volume creation time


DriveSpecPath:
A drive specification using a filesystem path to an image file.
Members
pathstringThe full filesystem path to the image file


VmInterfaceDeviceSpecParams:
Additional VM interface device parameters.
Members
outboundBandwidthParamsBandwidth parameters for shaping outgoing traffic.
inboundBandwidthParamsBandwidth parameters for shaping incoming traffic.


VMFullInfo:
Full information about VM.
Arguments
None


VolumeGroupState:
An enumeration of possible Volume Group states.
Values
PARTIALOne or more Physical Volumes are not available
OKAll Physical Volumes are online


BlockJobInfo:
Information about a currently active block job.
Members
imgUUIDUUIDThe UUID of the image on which this job is operating
blockJobTypeBlockJobTypeThe specific type of block operation underway
bandwidthintI/O limit in MB/s (zero means no limit)
jobTypeJobTypeThe general job type (always block)
endintIndicates the value of cur that will signify job completion
idUUIDAn ID that was associated with the job when it was started
curintIndicates progress of the job relative to end


StorageDomainCreateArgumentsBlock:
Creation argument for Block-based Storage Domains.
Members
vgUUIDUUIDThe UUID of a Volume Group to use as backing storage


HaMaintenanceMode:
An enumeration of recognized Hosted Engine maintenance modes.
Values
GLOBALSuspend Hosted Engine agent actions on all hosts
LOCALSuspend Hosted Engine agent on this host, after migrating engine VM, if necessary.


vmUpdateGraphicsDeviceParams:
Parameters for VM.updateDevice
Members
existingConnActionVmTicketConflictActionIndicate what to do with any existing connections
graphicsTypeVmGraphicsDeviceTypeThe type of the device to update
paramsStringMapArbitrary key:val pairs that will be passed to hooks
ttlintThe number of seconds before the password expires
passwordstringThe desired connection password


NetInfoNic:
Information about a network interface card.
Members
dhcpv4booleanWhether DHCPv4 was used to set up the nic.
gatewaystringAssign this gateway to the network
ipv4defaultroutebooleanWhether the gateway is the host default
ipv6autoconfbooleanWhether use stateless autoconfiguration
ipv6gatewaystringThe default IPv6 gateway for the bridge device
dhcpv6booleanWhether DHCPv6 was used to set up the network.
ipv6addrsstringA list of IPv6 addresses in the format of 'address/prefixlen' that are assigned to the nic
hwaddrstringThe Media Access Control address being used by the nic
permhwaddrstringFor bonded nics: the real MAC address which will be used if the card is freed from the bond.
speedintThe reported speed of the nic
ipv4addrsstringA list of IPv4 addresses in the format of 'address/prefixlen' that are assigned to the vlan device
mtustringThe Maximum Transmission Unit size for the nic
netmaskstringThe primary IPv4 netmask of the defined subnet
addrstringThe primary IPv4 address assigned to the nic device


HostDevice:
Assignment of the device to VM
Members
paramsHostDeviceParamsProperties of the device


NetInfoVlan:
Information about a Virtual Local Area Network
Members
dhcpv4booleanWhether DHCPv4 was used to set up the vlan.
ipv4defaultroutebooleanWhether the gateway is the host default
ifacestringThe network device associated with the vlan
mtuuintThe Maximum Transmission Unit size for the vlan
vlaniduintThe vlan ID assigned to the vlan device
ipv6addrsstringA list of IPv6 addresses in the format of 'address/prefixlen' that are assigned to the vlan device
dhcpv6booleanWhether DHCPv6 was used to set up the network.
ipv6gatewaystringThe default IPv6 gateway for the bridge device
ipv4addrsstringA list of IPv4 addresses in the format of 'address/prefixlen' that are assigned to the vlan device
netmaskstringThe primary IPv4 netmask of the defined subnet
addrstringThe primary IPv4 address assigned to the vlan device


NetInfoBridgeMap:
A mapping of NIC information indexed by device name.
Key
stringstring
Value
NetInfoBridgedNetworkNetInfoBridgedNetwork


StorageDomainVitals:
Regularly collected Storage Domain vital statistics.
Members
acquiredbooleanIndicates if the lockspace on the Storage Domain has been acquired and therefore if it's possible to run (sanlock) protected VMs
actualbooleanIndicates if the returned status is an actual monitoring result or initial result that means that the first monitor run was not yet completed
lastCheckstringElapsed time since the Storage Domain was last checked
validbooleanIndicates if the Storage Domain is functioning properly
codeintStorage Domain status code
versionintIndicates the Storage Domain version
delaystringThe amount of time it takes to read a small amount of data from the storage.


ConnectStorageServerStatus:
Status of a single storage server connection attempt.
Members
idUUIDConnection UUID
statusintStatus code


SetupNetworkBondAttributes:
Configuration attributes for a single bonded network interface device.
Members
removebooleanIf True, remove existing bond only
nicsstringAn array of network device names to include in the bond
optionsstringA string of space-separated <option>=<value> pairs
hwaddrstringDefine the Media Access Control address of the bond
switchstringSpecify Switch. Legacy is used if not passed


StoragePoolFullInfo:
Storage Pool and Storage Domain information.
Members
infoStoragePoolInfoStorage Pool information
dominfoStoragePoolDomainInfoMapInformation about active Storage Domains


DriveSpec:
A discriminated record containing a VM drive specification
Types
DriveSpecVolumeDriveSpecVolume
DriveSpecGUIDDriveSpecGUID
DriveSpecPayloadDriveSpecPayload
DriveSpecPathDriveSpecPath
LegacyCdromPathLegacyCdromPath
DriveSpecCdromDriveSpecCdrom


DiskAlignmentMap:
A map of the disk alignment from partition name to whether it's aligned
Key
stringstring
Value
booleanboolean


NetInfoBridgedNetwork:
Information about a VDSM bridged network.
Members
dhcpv4booleanWhether DHCPv4 was used to set up the network.
mtustringThe Maximum Transmission Unit size for the bridge device
ipv6gatewaystringThe default IPv6 gateway for the bridge device
gatewaystringThe IP address of the subnet's gateway
ipv4defaultroutebooleanWhether the gateway is the host default
ipv6addrsstringA list of IPv6 addresses in the format of 'address/prefixlen' that are assigned to the bridge device
portsstringA list of nic device names that are bridged
netmaskstringThe primary IPv4 netmask of the defined subnet
dhcpv6booleanWhether DHCPv6 was used to set up the network.
stpstringWhether Spanning Tree Protocol status for the bridge device should be turned on
optsStringMapA map containing information about the bridge specific options.
hostQosHostQoSParamshost traffic QoS params.
ipv4addrsstringA list of IPv4 addresses in the format of 'address/prefixlen' that are assigned to the vlan device
bridgedbooleanAlways True to distinguish this type from NetInfoBridgelessNetwork
addrstringThe primary IPv4 address assigned to the bridge device
ifacestringThe network device associated with the network
switchstringSpecify Switch. Legacy is used if not passed
ipv6autoconfbooleanWhether use ipv6 stateless autoconfiguration


VmJobsMap:
A mapping of VM job information indexed by job UUID.
Key
UUIDUUID
Value
VmJobInfoVmJobInfo


HostNetworkInterfaceStatsMap:
A mapping of host interface stats indexed by device name.
Key
stringstring
Value
HostNetworkInterfaceStatsHostNetworkInterfaceStats


TaskDetails:
A collection of information about a task.
Members
taskResultTaskResultFinal task result (TaskResult)
messagestringDetailed error message from the underlying task verb
idUUIDThe task UUID
codeintReturn code from the underlying task verb
tagstringThe tag assigned to the task
stateTaskStateCurrent task state (TaskState)
verbstringThe underlying operation to be performed by the task


VmDiskStats:
Statistics about a virtual machine disk device.
Members
writtenBytesstringBytes written
flushLatencystringThe latency of flush operations in nanoseconds
apparentsizestringThe size of the disk (in bytes)
readLatencystringThe latency of read operations in nanoseconds
readBytesstringBytes read
writeLatencystringThe latency of write operations in nanoseconds
truesizestringThe amount of underlying storage allocated (in bytes)
imageIDUUIDThe UUID of the Image associated with this disk
readRatestringThe read activity in bytes per second
writeRatestringThe write activity in bytes per second
readOpsstringRead operations since VM start
writeOpsstringWrite operations since VM start


ConvergenceAction:
Description of one action which has to be executed.
Members
paramsstringList of parameters of the action
namestringThe name of the action (e.g. abort, setDowntime, postcopy)


StorageDomainCreateArgumentsNfs:
Creation argument for NFS-based Storage Domains.
Members
remotePathstringAn export path in the form: <host>:<path>


MigratedStats:
Statistics about the last completed migration of a VM
Members
vmIdUUIDThe UUID of the Vm
statusMigrationStatusThe current migration status of a VM
downtimeuintThe downtime the VM experienced


FenceNodePowerStatusResult:
The host power status as a result of 'status' action.
Values
onThe remote host is powered on
offThe remote host is powered off
unknownThe power status is not known


StorageDomainVitalsMap:
A mapping of Storage Domain vital statistics indexed by Storage Domain UUID.
Key
UUIDUUID
Value
StorageDomainVitalsStorageDomainVitals


NfsConnectionParameters:
Parameters for initiating a new NFS connection.
Members
timeoutintThe time to wait before retrying a request (specified in tenths of one second).
versionstringSet the NFS protocol version
exportstringThe remote target in <host>:<path> format
retransintThe number of retry attempts for failing operations


TasksDetails:
A mapping of Task details indexed by Task UUID.
Key
UUIDUUID
Value
TaskDetailsTaskDetails


VmDisplayInfo:
Display and graphics device information.
Members
tlsPortstringThe port in use for encrypted display data
portstringThe port in use for unencrypted display data
typeVmGraphicsDeviceTypeThe type of display in use
ipAddressstringThe IP address to use for accessing the VM display


GuestSessionState:
An enumeration of user session states.
Values
ActiveThe display has been unlocked
LoggedOffA user has logged off
LockedThe display is locked
UserLoggedOnA user has logged in
UnknownThe session state is not known


ConnectionRefParameters:
A discriminated record of parameters used to establish a ConnectionRef.
Types
IscsiConnectionParametersIscsiConnectionParameters
PosixFsConnectionParametersPosixFsConnectionParameters
NfsConnectionParametersNfsConnectionParameters
LocalFsConnectionParametersLocalFsConnectionParameters


VmDiskDeviceFormat:
An enumeration of VM disk device formats.
Values
rawRaw data is written directly to backing storage
cowData is written using the Qemu qcow format


SecretUsageType:
Enumeration for secret usage type
Values
cephThis secret is associated with a Ceph RBD (rados block device)
volumeThis secret is associated with a volume
iscsiThis secret is associated with an iSCSI target for CHAP authentication


VolumeGroupAttributeClustered:
An enumeration of possible values for the clustered attribute.
Values
cIndicates that clustered locking is enabled
-Indicates that clustered locking is disabled


VmInfo:
A discriminated record of VM status information.
Types
VmDefinitionVmDefinition
UUIDUUID
VmShortStatusVmShortStatus


StorageDomainCreateArgumentsLocal:
Creation argument for local filesystem Storage Domains.
Members
remotePathstringA path on the local filesystem


VmWatchdogDeviceAction:
An enumeration of VM watchdog device actions.
Values
resetdefault, forcefully reset the guest
nonedo nothing
pausepause the guest
dumpautomatically dump the guest
poweroffforcefully power off the guest
shutdowngracefully shutdown the guest (not recommended)


VmDeviceType:
An enumeration of VM device types.
Values
soundA sound card or PC speaker
consoleA console device
smartcardA smartcard device
balloonA memory balloon device
memoryA memory device
rngA rng device
controllerAn internal controller that usually provides a bus
hostdevA host device
graphicsThe graphics device
interfaceA network interface
videoA video card
diskA hard disk, floppy, or cdrom device
tpmA TPM device
channelA host-guest communication channel
leaseA lease device


StoragePoolDomainInfoMap:
A mapping of active Storage Domain information indexed by Storage DomainUUID.
Key
UUIDUUID
Value
StoragePoolDomainInfoStoragePoolDomainInfo


VmShortStatus:
Abbreviated virtual machine status.
Members
vmIdUUIDThe UUID of the VM
statusVmStatusThe current status of the VM


MigratingStats:
Statistics about the current ongoing migration of a VM
Members
vmIdUUIDThe UUID of the Vm
statusMigrationStatusThe current migration status of a VM
progressuintThe migration percentage progress


BlockDeviceType:
Enumeration of possible block device types.
Values
FCPThe device is purely FibreChannel
MIXEDThe device consists of a mix of iSCSI and FibreChannel paths
iSCSIThe device is pure iSCSI


THPStates:
An enumeration of possible states for the Transparent Huge Pages feature.
Values
alwaysAll memory regions will be scanned
neverNo memory regions will be scanned
madviseOnly memory regions indicated by a call to madvise will be scanned


VmBootMode:
An enumeration of VM boot modes.
Values
aBoot from the first floppy device
cBoot from the first hard disk
dBoot from the first cdrom device
nBoot from the network


VmTpmDeviceModel:
An enumeration of VM tpm device modes.
Values
tpm-tisTPM Interface Standard


VmBalloonDeviceType:
An enumeration of VM balloon device types.
Values
memballoonA memory balloon


ErrorInfo:
Information about an error
Members
codeintAn error code
messagestringA free-form description of the error


HostNetworkStatistics:
Host network statistics.
Members
networkHostNetworkInterfaceStatsMapPer-interface network statistics
txDroppedstringThe number of outgoing packets dropped
rxDroppedstringThe number of incoming packets dropped


VmRngDeviceSpecParams:
An enumeration of VM rng device models
Members
bytesintMaximum number of bytes consumed per period
sourceVmRngDeviceSourceEntropy source
periodintRequired if bytes are set Limits the rate of entropy consumption from source


MigrateMode:
An enumeration of VM migration modes.
Values
remoteMigrate to a remote host
fileSave the VM state to storage