-
Christos Stavrakakis authored
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
0e0f08cb