« Previous | Next » 

Revision 1af851fd

ID1af851fd727e842f5438efc71b977245949bdca0

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences