deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: [PATCH] Add new m1.medium hardware profile to ec2 driver
Date Thu, 08 Mar 2012 10:34:30 GMT
Hi,

ACK. Good catch!

 -- Michal

Michal Fojtik
http://deltacloud.org
mfojtik@redhat.com



On Mar 8, 2012, at 10:42 AM, marios@redhat.com wrote:

> From: marios <marios@redhat.com>
> 
> (http://aws.amazon.com/about-aws/whats-new/2012/03/07/three-new-Amazon-EC2-features/)
> 
> Signed-off-by: marios <marios@redhat.com>
> ---
> server/lib/deltacloud/drivers/ec2/ec2_driver.rb |   11 +++++++++--
> 1 files changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> index 74e110f..52e91c2 100644
> --- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> +++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> @@ -58,7 +58,14 @@ module Deltacloud
>           cpu                1
>           memory             1.7 * 1024
>           storage            160
> -          architecture       'i386'
> +          architecture       ['i386', 'x86_64']
> +        end
> +
> +        define_hardware_profile('m1.medium') do
> +          cpu                 2
> +          memory              3.75 * 1024
> +          storage             410
> +          architecture        ['i386', 'x86_64']
>         end
> 
>         define_hardware_profile('m1.large') do
> @@ -79,7 +86,7 @@ module Deltacloud
>           cpu                5
>           memory             1.7 * 1024
>           storage            350
> -          architecture       'i386'
> +          architecture       ['i386', 'x86_64']
>         end
> 
>         define_hardware_profile('c1.xlarge') do
> -- 
> 1.7.6.5
> 


Mime
View raw message