« Previous | Next » 

Revision 1af851fd


Added by Christos Stavrakakis almost 11 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