Revision 83320b4f
ID | 83320b4fd3f8717c3a836b757b859c3b366b45ba |
cyclades: Implement resize action API call
Implement resize API call, which is a POST at
/servers/<server_id>/action' with body:
{"resize": {"flavorRef": <flavor_id>}}
The resize can only be performed if the disk size and disk template of
the new flavor are the same with the old one, and if the VM is in
STOPPED status.
Also add 'RESIZE' operstate to VirtualMachine
Refs #3870
Files
- added
- modified
- copied
- renamed
- deleted