Force an SR scan, syncing the xapi database with VDIs present in the underlying storage substrate.
Task Commands
Commands for working with
The task objects can be listed with the standard object listing command (xe
Task Parameters
Tasks have the following parameters:
Parameter Name | Description | Type |
|
|
|
uuid | the unique identifier/object reference for | read only |
| the Task |
|
|
|
|
the name of the Task | read only | |
|
|
|
the description string of the Task | read only | |
|
|
|
the unique identifier/object reference of the | read only | |
| host on which the task is running |
|
|
|
|
status | current status of the Task | read only |
|
|
|
progress | if the Task is still pending, this field contains | read only |
| the estimated percentage complete, from 0. |
|
| to 1. If the Task has completed, successfully |
|
| or unsuccessfully, this should be 1. |
|
|
|
|
type | if the Task has successfully completed, this | read only |
| parameter contains the type of the encoded |
|
| result, that is, the name of the class whose |
|
| reference is in the result field; otherwise, |
|
| this parameter's value is undefined |
|
|
|
|
result | if the Task has completed successfully, this | read only |
| field contains the result value, either Void |
|
| or an object reference; otherwise, this |
|
| parameter's value is undefined |
|
|
|
|
error_info | if the Task has failed, this parameter | read only |
| contains the set of associated error |
|
| strings; otherwise, this parameter's value is |
|
| undefined |
|
|
|
|
allowed_operations | list of the operations allowed in this state | read only |
|
|
|
created | time the task has been created | read only |
|
|
|
finished | time task finished (i.e. succeeded or failed). | read only |
| If |
|
| this field has no meaning |
|
|
|
|
subtask_of | contains the UUID of the tasks this task is a | read only |
|
| |
|
|
|
150