deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 2/2] EC2: Round down the float value of m2.xlarge hardware_profile (DTACLOUD-373)
Date Mon, 19 Nov 2012 10:06:14 GMT
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'
-- 
1.8.0


Mime
View raw message