Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Updated create_volume routine in the cloudstack.py file to support ex_volume_type #785
Updated create_volume routine in the cloudstack.py file to support ex_volume_type
As part of the deployment of an internal cloud using CloudStack, we discovered that
The CloudStack DiskOffering capability is required for this deployment, so the create_volume
When a DiskOffering is specified, the input size to create_volume is over-riden by the
Checklist (tick everything that applies)
"DiskOffering" selection using same variable name as for OpenStack (ex_volume_type). This allows one to specify a specific volume type. When ex_volume_type is specified, the size of the volume is defined by that volume type, unless it is adjustable. Updated tests to validate changes to create_volume.
The changes look good to me so I went and merged them into trunk - thanks!
In the future, please make sure that git author field is correctly configured for each commit (looks like a second commit was made from a different (root) user account which didn't have git user name and email configured so I squashed that commit into the previous one).