Signed-off-by: Rok Strnisa <rok.strnisa@citrix.com>
let vm_operations =
Enum ("vm_operations",
List.map operation_enum
- [ vm_snapshot; vm_clone; vm_copy; vm_revert; vm_checkpoint; vm_snapshot_with_quiesce;
+ [ vm_snapshot; vm_clone; vm_copy; vm_create_template; vm_revert; vm_checkpoint; vm_snapshot_with_quiesce;
vm_provision; vm_start; vm_start_on; vm_pause; vm_unpause; vm_cleanShutdown;
vm_cleanReboot; vm_hardShutdown; vm_stateReset; vm_hardReboot;
vm_suspend; csvm; vm_resume; vm_resume_on;
-> [`Halted; `Running]
| `clone
| `copy
+ | `create_template (* Don't touch until XMLRPC unmarshal code is able to pre-blank fields on input. *)
| `export
-> [`Halted; `Suspended]
| `hard_reboot