...
- User wants to upload a template from the browser and launch a vm with it on Cloudstack
- User wants to upload a volume from the browser and attach it to a vm on Cloudstack
Functional Requirements
- feature shall support upload of template through https POST request with pre-generated URLfeature shall
- support upload of volume through https POST request
- uploading same volume or template shall be treated as new upload by management server
- with pre-generated URL
- template/volume upload failure failure to upload volume or template is irrecoverable, it needs to be reinitiated by requesting a new upload url
- management server shall ensure cleanup of partially uploaded volume or template templates/volumes in case of failure (?)
- provide upload management server shall be able to give status (percentage, bytes etc) of the upload using the list templates/volume volumes api call
- a global param to limit the max upload size size of template/volume
- enforcement of account management server will enforce the limits for templates/volumes and would error on reaching the limits. volumes
- This is hypervisor agnostic and should work for all hypervisors
...
{"serverDuration": 141, "requestCorrelationId": "036ed24c13a80fe3"}