libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [06/11] libcloud git commit: EC2: Add clarifications
Date Fri, 04 Dec 2015 20:14:59 GMT
EC2: Add clarifications

Add source URLs.
Add unit type for RAM and disk size.

Signed-off-by: Anthony Shaw <anthony.p.shaw@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e88a00c7
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e88a00c7
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e88a00c7

Branch: refs/heads/trunk
Commit: e88a00c7b4ac18597a895ee2b408781cb4d91a4f
Parents: 7e13ba1
Author: Philipp Hahn <hahn@univention.de>
Authored: Tue Dec 1 09:05:37 2015 +0100
Committer: Anthony Shaw <anthony.p.shaw@gmail.com>
Committed: Sat Dec 5 07:14:57 2015 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e88a00c7/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 95cdb7a..4bf95f1 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -89,6 +89,8 @@ EUCA_NAMESPACE = 'http://msgs.eucalyptus.com/%s' % (DEFAULT_EUCA_API_VERSION)
 """
 Sizes must be hardcoded, because Amazon doesn't provide an API to fetch them.
 From http://aws.amazon.com/ec2/instance-types/
+and <http://aws.amazon.com/ec2/previous-generation/>
+ram = [MiB], disk = [GB]
 """
 
 
@@ -631,6 +633,7 @@ INSTANCE_TYPES = {
     }
 }
 
+#  From <https://aws.amazon.com/marketplace/help/200777880>
 REGION_DETAILS = {
     # US East (Northern Virginia) Region
     'us-east-1': {


Mime
View raw message