Hi Punith, This kind of a feature is something Chris Suich and I discussed a while back.
We talked about leveraging arbitrary key/value pairs to make this happen (OpenStack does something similar). The key/value pairs would be vendor specific. If we take a key/value approach, we might be able to make this all work the way things work today when the user wants to change an existing Compute Offering and/or Disk Offering. For example, the user would pick a new Compute Offering (with presumably has different key/value pairs) and CloudStack could inform the applicable storage provider, who could update the volume in question. This way we don't need to introduce a new API command and the use model for the user doesn't really change. What are you thoughts on this? Thanks, Mike On Mon, Jun 9, 2014 at 8:08 AM, Punith S <punit...@cloudbyte.com> wrote: > hi guys, > > since most of the third party storage providers have been implementing 1:1 > mapping(managed storage) between a volume(dataset) and a vm disk(vdi/vmdk) > for guaranteeing the Qos, i would like to propose a new feature to > dynamically change the volume properties supported by storage vendors such > as IOPS, Deduplication, Compression, Grace, Syncronization, Latency > etc, depending on properties and features supported by respective storage > vendors. hence providing more flexibility for users. > > in case of using default cloudstack storage provider, we can change the > properties of the vdi/vmdk files apart from resizing the volume(vdi/vmdk). > > changes in management server include, > > new async web api ChangeVolumePropertiesCmd, > new method in VolumeApiService for vo and dao validation implementations. > new method in VolumeServiceManager for supporting callback and calling the > respective storage provider driver's implementation. > new method in PrimaryDataStoreDriver interface for implementing respective > features according to their storage product. > > changes in UI include, > new changing volume properties widget in volume section, showing different > properties depending upon listed storage providers. > > any suggestions and feedbacks ? > > thanks > > -- > regards, > > punith s > cloudbyte.com > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud <http://solidfire.com/solution/overview/?video=play>*™*