Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. User wants to upload a template from the browser and launch a vm with it on Cloudstack
  2. 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 

...