cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip Childers <chip.child...@sungard.com>
Subject Re: Modifying the DB schema
Date Mon, 20 May 2013 18:59:19 GMT
On Mon, May 20, 2013 at 12:55:27PM -0600, Mike Tutkowski wrote:
> Hi,
> 
> I've been writing code to enable users to select min, max, and burst IOPS
> for Disk Offerings.
> 
> I've gotten to the point where I need to create these new fields in the DB,
> but I'm not sure where we control this logic. My new code would look
> something like this:
> 
> alter table disk_offering add column min_iops bigint(20) unsigned default 0;
> alter table disk_offering add column max_iops bigint(20) unsigned default 0;
> alter table disk_offering add column burst_iops bigint(20) unsigned default 0;
> 
> 
> Can someone please point me to the correct place to add this code?
> 
> Thanks!
> 
> -- 
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*

Wiki page here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Database+Creator

Also: Any chance you've been documenting your design anywhere?  I think
it would be quite helpful if you were using a similar process to other
features (discussion of what you are doing on list, proposed design,
merge requirements being met, etc...).

-chip

Mime
View raw message