deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marios@redhat.com" <mandr...@redhat.com>
Subject Re: [PATCH core 2/2] EC2: Round down the float value of m2.xlarge hardware_profile (DTACLOUD-373)
Date Mon, 19 Nov 2012 11:14:54 GMT
NACK - as discussed on irc, i think we should fix this in the
MachineConfiguration model (from_hardware_profile) rather than in ec2
driver.

On 19/11/12 12:06, mfojtik@redhat.com wrote:
> From: Michal Fojtik <mfojtik@redhat.com>
> 
> 
> Signed-off-by: Michal fojtik <mfojtik@redhat.com>
> ---
>  server/lib/deltacloud/drivers/ec2/ec2_driver.rb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> index c7bed05..a49d6f0 100644
> --- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> +++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> @@ -98,7 +98,8 @@ module Deltacloud
>          end
>  
>          define_hardware_profile('m2.xlarge') do
> -          cpu                6.5
> +          # 6.5 EC2 Compute Units (2 virtual cores with 3.25 EC2 Compute Units each)
> +          cpu                6
>            memory             17.1 * 1024
>            storage            420
>            architecture       'x86_64'
> 


Mime
View raw message