shwstppr opened a new pull request #3246: [WIP DO NOT MERGE] server: allow disk offering selection for volume from snapshot URL: https://github.com/apache/cloudstack/pull/3246 ## Description **Problem**: Volume created from a snapshot does not show its disk offering. **Root Cause**: The volume created from a snapshot of a root disk does not have a disk offering therefore the disk offering of the created volume from the snapshot is empty. **Solution**: Refactored createVolume API and extended UI to allow user to select disk offering while creating volumes using a root disk volume snapshot. For creating volumes using data disk volume snapshot, disk offering given by snapshot will be assigned. Disk offering selection in UI form volume creation from snapshot is depicted in screenshot below. ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] New feature (non-breaking change which adds functionality) - [x] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ## Screenshots (if appropriate):  ## How Has This Been Tested? From UI <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document -->
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
