View Source XenAPI.VDI (XenAPI v0.3.0)
A virtual disk image
Link to this section Summary
Functions
Add the given value to the tags field of the given VDI. If the value is already in that Set, then do nothing.
Add the given value to the tags field of the given VDI. If the value is already in that Set, then do nothing. (Raise error on XMLRPC failure)
Add the given key-value pair to the other_config field of the given VDI.
Add the given key-value pair to the other_config field of the given VDI. (Raise error on XMLRPC failure)
Add the given key-value pair to the sm_config field of the given VDI.
Add the given key-value pair to the sm_config field of the given VDI. (Raise error on XMLRPC failure)
Add the given key-value pair to the xenstore_data field of the given VDI.
Add the given key-value pair to the xenstore_data field of the given VDI. (Raise error on XMLRPC failure)
Take an exact copy of the VDI and return a reference to the new disk. If any driver_params are specified then these are passed through to the storage-specific substrate driver that implements the clone operation. NB the clone lives in the same Storage Repository as its parent.
Take an exact copy of the VDI and return a reference to the new disk. If any driver_params are specified then these are passed through to the storage-specific substrate driver that implements the clone operation. NB the clone lives in the same Storage Repository as its parent. (Raise error on XMLRPC failure)
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI. (Raise error on XMLRPC failure)
Create a new VDI instance, and return its handle. The constructor args are: name_label, name_description, SR, virtual_size, type, sharable, read_only, other_config, xenstore_data, sm_config, tags (* = non-optional).
Create a new VDI instance, and return its handle. The constructor args are: name_label, name_description, SR, virtual_size, type, sharable, read_only, other_config, xenstore_data, sm_config, tags (* = non-optional). (Raise error on XMLRPC failure)
Delete the data of the snapshot VDI, but keep its changed block tracking metadata. When successful, this call changes the type of the VDI to cbt_metadata. This operation is idempotent: calling it on a VDI of type cbt_metadata results in a no-op, and no error will be thrown.
Delete the data of the snapshot VDI, but keep its changed block tracking metadata. When successful, this call changes the type of the VDI to cbt_metadata. This operation is idempotent: calling it on a VDI of type cbt_metadata results in a no-op, and no error will be thrown. (Raise error on XMLRPC failure)
Destroy the specified VDI instance.
Destroy the specified VDI instance. (Raise error on XMLRPC failure)
Disable changed block tracking for the VDI. This call is only allowed on VDIs that support enabling CBT. It is an idempotent operation - disabling CBT for a VDI for which CBT is not enabled results in a no-op, and no error will be thrown.
Disable changed block tracking for the VDI. This call is only allowed on VDIs that support enabling CBT. It is an idempotent operation - disabling CBT for a VDI for which CBT is not enabled results in a no-op, and no error will be thrown. (Raise error on XMLRPC failure)
Enable changed block tracking for the VDI. This call is idempotent - enabling CBT for a VDI for which CBT is already enabled results in a no-op, and no error will be thrown.
Enable changed block tracking for the VDI. This call is idempotent - enabling CBT for a VDI for which CBT is already enabled results in a no-op, and no error will be thrown. (Raise error on XMLRPC failure)
Removes a VDI record from the database
Removes a VDI record from the database (Raise error on XMLRPC failure)
Return a list of all the VDIs known to the system.
Return a list of all the VDIs known to the system. (Raise error on XMLRPC failure)
Return a map of VDI references to VDI records for all VDIs known to the system.
Return a map of VDI references to VDI records for all VDIs known to the system. (Raise error on XMLRPC failure)
Get the allow_caching field of the given VDI.
Get the allow_caching field of the given VDI. (Raise error on XMLRPC failure)
Get the allowed_operations field of the given VDI.
Get the allowed_operations field of the given VDI. (Raise error on XMLRPC failure)
Get all the VDI instances with the given label.
Get all the VDI instances with the given label. (Raise error on XMLRPC failure)
Get a reference to the VDI instance with the specified UUID.
Get a reference to the VDI instance with the specified UUID. (Raise error on XMLRPC failure)
Get the cbt_enabled field of the given VDI.
Get the cbt_enabled field of the given VDI. (Raise error on XMLRPC failure)
Get the crash_dumps field of the given VDI.
Get the crash_dumps field of the given VDI. (Raise error on XMLRPC failure)
Get the current_operations field of the given VDI.
Get the current_operations field of the given VDI. (Raise error on XMLRPC failure)
Get the is_a_snapshot field of the given VDI.
Get the is_a_snapshot field of the given VDI. (Raise error on XMLRPC failure)
Get the is_tools_iso field of the given VDI.
Get the is_tools_iso field of the given VDI. (Raise error on XMLRPC failure)
Get the location field of the given VDI.
Get the location field of the given VDI. (Raise error on XMLRPC failure)
Get the managed field of the given VDI.
Get the managed field of the given VDI. (Raise error on XMLRPC failure)
Get the metadata_latest field of the given VDI.
Get the metadata_latest field of the given VDI. (Raise error on XMLRPC failure)
Get the metadata_of_pool field of the given VDI.
Get the metadata_of_pool field of the given VDI. (Raise error on XMLRPC failure)
Get the missing field of the given VDI.
Get the missing field of the given VDI. (Raise error on XMLRPC failure)
Get the name/description field of the given VDI.
Get the name/description field of the given VDI. (Raise error on XMLRPC failure)
Get the name/label field of the given VDI.
Get the name/label field of the given VDI. (Raise error on XMLRPC failure)
Get details specifying how to access this VDI via a Network Block Device server. For each of a set of NBD server addresses on which the VDI is available, the return value set contains a vdi_nbd_server_info object that contains an exportname to request once the NBD connection is established, and connection details for the address. An empty list is returned if there is no network that has a PIF on a host with access to the relevant SR, or if no such network has been assigned an NBD-related purpose in its purpose field. To access the given VDI, any of the vdi_nbd_server_info objects can be used to make a connection to a server, and then the VDI will be available by requesting the exportname.
Get details specifying how to access this VDI via a Network Block Device server. For each of a set of NBD server addresses on which the VDI is available, the return value set contains a vdi_nbd_server_info object that contains an exportname to request once the NBD connection is established, and connection details for the address. An empty list is returned if there is no network that has a PIF on a host with access to the relevant SR, or if no such network has been assigned an NBD-related purpose in its purpose field. To access the given VDI, any of the vdi_nbd_server_info objects can be used to make a connection to a server, and then the VDI will be available by requesting the exportname. (Raise error on XMLRPC failure)
Get the on_boot field of the given VDI.
Get the on_boot field of the given VDI. (Raise error on XMLRPC failure)
Get the other_config field of the given VDI.
Get the other_config field of the given VDI. (Raise error on XMLRPC failure)
Get the parent field of the given VDI.
Get the parent field of the given VDI. (Raise error on XMLRPC failure)
Get the physical_utilisation field of the given VDI.
Get the physical_utilisation field of the given VDI. (Raise error on XMLRPC failure)
Get the read_only field of the given VDI.
Get the read_only field of the given VDI. (Raise error on XMLRPC failure)
Get a record containing the current state of the given VDI. Returns XenAPI.VDI
struct.
Get a record containing the current state of the given VDI. Returns XenAPI.VDI
struct. (Raise error on XMLRPC failure)
Get the SR field of the given VDI.
Get the SR field of the given VDI. (Raise error on XMLRPC failure)
Get the sharable field of the given VDI.
Get the sharable field of the given VDI. (Raise error on XMLRPC failure)
Get the sm_config field of the given VDI.
Get the sm_config field of the given VDI. (Raise error on XMLRPC failure)
Get the snapshot_of field of the given VDI.
Get the snapshot_of field of the given VDI. (Raise error on XMLRPC failure)
Get the snapshot_time field of the given VDI.
Get the snapshot_time field of the given VDI. (Raise error on XMLRPC failure)
Get the snapshots field of the given VDI.
Get the snapshots field of the given VDI. (Raise error on XMLRPC failure)
Get the storage_lock field of the given VDI.
Get the storage_lock field of the given VDI. (Raise error on XMLRPC failure)
Get the tags field of the given VDI.
Get the tags field of the given VDI. (Raise error on XMLRPC failure)
Get the type field of the given VDI.
Get the type field of the given VDI. (Raise error on XMLRPC failure)
Get the uuid field of the given VDI.
Get the uuid field of the given VDI. (Raise error on XMLRPC failure)
Get the VBDs field of the given VDI.
Get the VBDs field of the given VDI. (Raise error on XMLRPC failure)
Get the virtual_size field of the given VDI.
Get the virtual_size field of the given VDI. (Raise error on XMLRPC failure)
Get the xenstore_data field of the given VDI.
Get the xenstore_data field of the given VDI. (Raise error on XMLRPC failure)
Create a new VDI record in the database only
Create a new VDI record in the database only (Raise error on XMLRPC failure)
Compare two VDIs in 64k block increments and report which blocks differ. This operation is not allowed when vdi_to is attached to a VM.
Compare two VDIs in 64k block increments and report which blocks differ. This operation is not allowed when vdi_to is attached to a VM. (Raise error on XMLRPC failure)
Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents.
Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents. (Raise error on XMLRPC failure)
Migrate a VDI, which may be attached to a running guest, to a different SR. The destination SR must be visible to the guest.
Migrate a VDI, which may be attached to a running guest, to a different SR. The destination SR must be visible to the guest. (Raise error on XMLRPC failure)
Check the VDI cache for the pool UUID of the database on this VDI.
Check the VDI cache for the pool UUID of the database on this VDI. (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the other_config field of the given VDI. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the other_config field of the given VDI. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the sm_config field of the given VDI. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the sm_config field of the given VDI. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the xenstore_data field of the given VDI. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the xenstore_data field of the given VDI. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Remove the given value from the tags field of the given VDI. If the value is not in that Set, then do nothing.
Remove the given value from the tags field of the given VDI. If the value is not in that Set, then do nothing. (Raise error on XMLRPC failure)
Resize the VDI.
Resize the VDI. (Raise error on XMLRPC failure)
Resize the VDI which may or may not be attached to running guests.
Resize the VDI which may or may not be attached to running guests. (Raise error on XMLRPC failure)
Set the value of the allow_caching parameter. This value can only be changed when the VDI is not attached to a running VM. The caching behaviour is only affected by this flag for VHD-based VDIs that have one parent and no child VHDs. Moreover, caching only takes place when the host running the VM containing this VDI has a nominated SR for local caching.
Set the value of the allow_caching parameter. This value can only be changed when the VDI is not attached to a running VM. The caching behaviour is only affected by this flag for VHD-based VDIs that have one parent and no child VHDs. Moreover, caching only takes place when the host running the VM containing this VDI has a nominated SR for local caching. (Raise error on XMLRPC failure)
Set the name description of the VDI. This can only happen when its SR is currently attached.
Set the name description of the VDI. This can only happen when its SR is currently attached. (Raise error on XMLRPC failure)
Set the name label of the VDI. This can only happen when then its SR is currently attached.
Set the name label of the VDI. This can only happen when then its SR is currently attached. (Raise error on XMLRPC failure)
Set the value of the on_boot parameter. This value can only be changed when the VDI is not attached to a running VM.
Set the value of the on_boot parameter. This value can only be changed when the VDI is not attached to a running VM. (Raise error on XMLRPC failure)
Set the other_config field of the given VDI.
Set the other_config field of the given VDI. (Raise error on XMLRPC failure)
Sets the VDI's read_only field
Sets the VDI's read_only field (Raise error on XMLRPC failure)
Sets the VDI's sharable field
Sets the VDI's sharable field (Raise error on XMLRPC failure)
Set the sm_config field of the given VDI.
Set the sm_config field of the given VDI. (Raise error on XMLRPC failure)
Set the tags field of the given VDI.
Set the tags field of the given VDI. (Raise error on XMLRPC failure)
Set the xenstore_data field of the given VDI.
Set the xenstore_data field of the given VDI. (Raise error on XMLRPC failure)
Take a read-only snapshot of the VDI, returning a reference to the snapshot. If any driver_params are specified then these are passed through to the storage-specific substrate driver that takes the snapshot. NB the snapshot lives in the same Storage Repository as its parent.
Take a read-only snapshot of the VDI, returning a reference to the snapshot. If any driver_params are specified then these are passed through to the storage-specific substrate driver that takes the snapshot. NB the snapshot lives in the same Storage Repository as its parent. (Raise error on XMLRPC failure)
Ask the storage backend to refresh the fields in the VDI object
Ask the storage backend to refresh the fields in the VDI object (Raise error on XMLRPC failure)
Link to this section Functions
Add the given value to the tags field of the given VDI. If the value is already in that Set, then do nothing.
Add the given value to the tags field of the given VDI. If the value is already in that Set, then do nothing. (Raise error on XMLRPC failure)
Add the given key-value pair to the other_config field of the given VDI.
Add the given key-value pair to the other_config field of the given VDI. (Raise error on XMLRPC failure)
Add the given key-value pair to the sm_config field of the given VDI.
Add the given key-value pair to the sm_config field of the given VDI. (Raise error on XMLRPC failure)
Add the given key-value pair to the xenstore_data field of the given VDI.
Add the given key-value pair to the xenstore_data field of the given VDI. (Raise error on XMLRPC failure)
Take an exact copy of the VDI and return a reference to the new disk. If any driver_params are specified then these are passed through to the storage-specific substrate driver that implements the clone operation. NB the clone lives in the same Storage Repository as its parent.
Take an exact copy of the VDI and return a reference to the new disk. If any driver_params are specified then these are passed through to the storage-specific substrate driver that implements the clone operation. NB the clone lives in the same Storage Repository as its parent. (Raise error on XMLRPC failure)
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI. (Raise error on XMLRPC failure)
Create a new VDI instance, and return its handle. The constructor args are: name_label, name_description, SR, virtual_size, type, sharable, read_only, other_config, xenstore_data, sm_config, tags (* = non-optional).
Create a new VDI instance, and return its handle. The constructor args are: name_label, name_description, SR, virtual_size, type, sharable, read_only, other_config, xenstore_data, sm_config, tags (* = non-optional). (Raise error on XMLRPC failure)
Delete the data of the snapshot VDI, but keep its changed block tracking metadata. When successful, this call changes the type of the VDI to cbt_metadata. This operation is idempotent: calling it on a VDI of type cbt_metadata results in a no-op, and no error will be thrown.
Delete the data of the snapshot VDI, but keep its changed block tracking metadata. When successful, this call changes the type of the VDI to cbt_metadata. This operation is idempotent: calling it on a VDI of type cbt_metadata results in a no-op, and no error will be thrown. (Raise error on XMLRPC failure)
Destroy the specified VDI instance.
Destroy the specified VDI instance. (Raise error on XMLRPC failure)
Disable changed block tracking for the VDI. This call is only allowed on VDIs that support enabling CBT. It is an idempotent operation - disabling CBT for a VDI for which CBT is not enabled results in a no-op, and no error will be thrown.
Disable changed block tracking for the VDI. This call is only allowed on VDIs that support enabling CBT. It is an idempotent operation - disabling CBT for a VDI for which CBT is not enabled results in a no-op, and no error will be thrown. (Raise error on XMLRPC failure)
Enable changed block tracking for the VDI. This call is idempotent - enabling CBT for a VDI for which CBT is already enabled results in a no-op, and no error will be thrown.
Enable changed block tracking for the VDI. This call is idempotent - enabling CBT for a VDI for which CBT is already enabled results in a no-op, and no error will be thrown. (Raise error on XMLRPC failure)
Removes a VDI record from the database
Removes a VDI record from the database (Raise error on XMLRPC failure)
Return a list of all the VDIs known to the system.
Return a list of all the VDIs known to the system. (Raise error on XMLRPC failure)
Return a map of VDI references to VDI records for all VDIs known to the system.
Return a map of VDI references to VDI records for all VDIs known to the system. (Raise error on XMLRPC failure)
Get the allow_caching field of the given VDI.
Get the allow_caching field of the given VDI. (Raise error on XMLRPC failure)
Get the allowed_operations field of the given VDI.
Get the allowed_operations field of the given VDI. (Raise error on XMLRPC failure)
Get all the VDI instances with the given label.
Get all the VDI instances with the given label. (Raise error on XMLRPC failure)
Get a reference to the VDI instance with the specified UUID.
Get a reference to the VDI instance with the specified UUID. (Raise error on XMLRPC failure)
Get the cbt_enabled field of the given VDI.
Get the cbt_enabled field of the given VDI. (Raise error on XMLRPC failure)
Get the crash_dumps field of the given VDI.
Get the crash_dumps field of the given VDI. (Raise error on XMLRPC failure)
Get the current_operations field of the given VDI.
Get the current_operations field of the given VDI. (Raise error on XMLRPC failure)
Get the is_a_snapshot field of the given VDI.
Get the is_a_snapshot field of the given VDI. (Raise error on XMLRPC failure)
Get the is_tools_iso field of the given VDI.
Get the is_tools_iso field of the given VDI. (Raise error on XMLRPC failure)
Get the location field of the given VDI.
Get the location field of the given VDI. (Raise error on XMLRPC failure)
Get the managed field of the given VDI.
Get the managed field of the given VDI. (Raise error on XMLRPC failure)
Get the metadata_latest field of the given VDI.
Get the metadata_latest field of the given VDI. (Raise error on XMLRPC failure)
Get the metadata_of_pool field of the given VDI.
Get the metadata_of_pool field of the given VDI. (Raise error on XMLRPC failure)
Get the missing field of the given VDI.
Get the missing field of the given VDI. (Raise error on XMLRPC failure)
Get the name/description field of the given VDI.
Get the name/description field of the given VDI. (Raise error on XMLRPC failure)
Get the name/label field of the given VDI.
Get the name/label field of the given VDI. (Raise error on XMLRPC failure)
Get details specifying how to access this VDI via a Network Block Device server. For each of a set of NBD server addresses on which the VDI is available, the return value set contains a vdi_nbd_server_info object that contains an exportname to request once the NBD connection is established, and connection details for the address. An empty list is returned if there is no network that has a PIF on a host with access to the relevant SR, or if no such network has been assigned an NBD-related purpose in its purpose field. To access the given VDI, any of the vdi_nbd_server_info objects can be used to make a connection to a server, and then the VDI will be available by requesting the exportname.
Get details specifying how to access this VDI via a Network Block Device server. For each of a set of NBD server addresses on which the VDI is available, the return value set contains a vdi_nbd_server_info object that contains an exportname to request once the NBD connection is established, and connection details for the address. An empty list is returned if there is no network that has a PIF on a host with access to the relevant SR, or if no such network has been assigned an NBD-related purpose in its purpose field. To access the given VDI, any of the vdi_nbd_server_info objects can be used to make a connection to a server, and then the VDI will be available by requesting the exportname. (Raise error on XMLRPC failure)
Get the on_boot field of the given VDI.
Get the on_boot field of the given VDI. (Raise error on XMLRPC failure)
Get the other_config field of the given VDI.
Get the other_config field of the given VDI. (Raise error on XMLRPC failure)
Get the parent field of the given VDI.
Get the parent field of the given VDI. (Raise error on XMLRPC failure)
Get the physical_utilisation field of the given VDI.
Get the physical_utilisation field of the given VDI. (Raise error on XMLRPC failure)
Get the read_only field of the given VDI.
Get the read_only field of the given VDI. (Raise error on XMLRPC failure)
Get a record containing the current state of the given VDI. Returns XenAPI.VDI
struct.
Get a record containing the current state of the given VDI. Returns XenAPI.VDI
struct. (Raise error on XMLRPC failure)
Get the SR field of the given VDI.
Get the SR field of the given VDI. (Raise error on XMLRPC failure)
Get the sharable field of the given VDI.
Get the sharable field of the given VDI. (Raise error on XMLRPC failure)
Get the sm_config field of the given VDI.
Get the sm_config field of the given VDI. (Raise error on XMLRPC failure)
Get the snapshot_of field of the given VDI.
Get the snapshot_of field of the given VDI. (Raise error on XMLRPC failure)
Get the snapshot_time field of the given VDI.
Get the snapshot_time field of the given VDI. (Raise error on XMLRPC failure)
Get the snapshots field of the given VDI.
Get the snapshots field of the given VDI. (Raise error on XMLRPC failure)
Get the storage_lock field of the given VDI.
Get the storage_lock field of the given VDI. (Raise error on XMLRPC failure)
Get the tags field of the given VDI.
Get the tags field of the given VDI. (Raise error on XMLRPC failure)
Get the type field of the given VDI.
Get the type field of the given VDI. (Raise error on XMLRPC failure)
Get the uuid field of the given VDI.
Get the uuid field of the given VDI. (Raise error on XMLRPC failure)
Get the VBDs field of the given VDI.
Get the VBDs field of the given VDI. (Raise error on XMLRPC failure)
Get the virtual_size field of the given VDI.
Get the virtual_size field of the given VDI. (Raise error on XMLRPC failure)
Get the xenstore_data field of the given VDI.
Get the xenstore_data field of the given VDI. (Raise error on XMLRPC failure)
introduce(xen_session, uuid, name_label, name_description, arg, type, sharable, read_only, other_config, location, xenstore_data, sm_config, managed, virtual_size, physical_utilisation, metadata_of_pool, is_a_snapshot, snapshot_time, snapshot_of)
View SourceCreate a new VDI record in the database only
introduce!(xen_session, uuid, name_label, name_description, arg, type, sharable, read_only, other_config, location, xenstore_data, sm_config, managed, virtual_size, physical_utilisation, metadata_of_pool, is_a_snapshot, snapshot_time, snapshot_of)
View SourceCreate a new VDI record in the database only (Raise error on XMLRPC failure)
Compare two VDIs in 64k block increments and report which blocks differ. This operation is not allowed when vdi_to is attached to a VM.
Compare two VDIs in 64k block increments and report which blocks differ. This operation is not allowed when vdi_to is attached to a VM. (Raise error on XMLRPC failure)
Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents.
Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents. (Raise error on XMLRPC failure)
Migrate a VDI, which may be attached to a running guest, to a different SR. The destination SR must be visible to the guest.
Migrate a VDI, which may be attached to a running guest, to a different SR. The destination SR must be visible to the guest. (Raise error on XMLRPC failure)
Check the VDI cache for the pool UUID of the database on this VDI.
Check the VDI cache for the pool UUID of the database on this VDI. (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the other_config field of the given VDI. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the other_config field of the given VDI. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the sm_config field of the given VDI. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the sm_config field of the given VDI. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the xenstore_data field of the given VDI. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the xenstore_data field of the given VDI. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Remove the given value from the tags field of the given VDI. If the value is not in that Set, then do nothing.
Remove the given value from the tags field of the given VDI. If the value is not in that Set, then do nothing. (Raise error on XMLRPC failure)
Resize the VDI.
Resize the VDI. (Raise error on XMLRPC failure)
Resize the VDI which may or may not be attached to running guests.
Resize the VDI which may or may not be attached to running guests. (Raise error on XMLRPC failure)
Set the value of the allow_caching parameter. This value can only be changed when the VDI is not attached to a running VM. The caching behaviour is only affected by this flag for VHD-based VDIs that have one parent and no child VHDs. Moreover, caching only takes place when the host running the VM containing this VDI has a nominated SR for local caching.
Set the value of the allow_caching parameter. This value can only be changed when the VDI is not attached to a running VM. The caching behaviour is only affected by this flag for VHD-based VDIs that have one parent and no child VHDs. Moreover, caching only takes place when the host running the VM containing this VDI has a nominated SR for local caching. (Raise error on XMLRPC failure)
Set the name description of the VDI. This can only happen when its SR is currently attached.
Set the name description of the VDI. This can only happen when its SR is currently attached. (Raise error on XMLRPC failure)
Set the name label of the VDI. This can only happen when then its SR is currently attached.
Set the name label of the VDI. This can only happen when then its SR is currently attached. (Raise error on XMLRPC failure)
Set the value of the on_boot parameter. This value can only be changed when the VDI is not attached to a running VM.
Set the value of the on_boot parameter. This value can only be changed when the VDI is not attached to a running VM. (Raise error on XMLRPC failure)
Set the other_config field of the given VDI.
Set the other_config field of the given VDI. (Raise error on XMLRPC failure)
Sets the VDI's read_only field
Sets the VDI's read_only field (Raise error on XMLRPC failure)
Sets the VDI's sharable field
Sets the VDI's sharable field (Raise error on XMLRPC failure)
Set the sm_config field of the given VDI.
Set the sm_config field of the given VDI. (Raise error on XMLRPC failure)
Set the tags field of the given VDI.
Set the tags field of the given VDI. (Raise error on XMLRPC failure)
Set the xenstore_data field of the given VDI.
Set the xenstore_data field of the given VDI. (Raise error on XMLRPC failure)
Take a read-only snapshot of the VDI, returning a reference to the snapshot. If any driver_params are specified then these are passed through to the storage-specific substrate driver that takes the snapshot. NB the snapshot lives in the same Storage Repository as its parent.
Take a read-only snapshot of the VDI, returning a reference to the snapshot. If any driver_params are specified then these are passed through to the storage-specific substrate driver that takes the snapshot. NB the snapshot lives in the same Storage Repository as its parent. (Raise error on XMLRPC failure)
Ask the storage backend to refresh the fields in the VDI object
Ask the storage backend to refresh the fields in the VDI object (Raise error on XMLRPC failure)