« Previous | Next » 

Revision 83320b4f


Added by Christos Stavrakakis over 8 years ago

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences