libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [4/4] git commit: Add support for Amazon GovCloud to the EC2 driver (us-gov-west-1 region).
Date Sat, 06 Sep 2014 17:47:33 GMT
Add support for Amazon GovCloud to the EC2 driver (us-gov-west-1 region).

Patch by Chris DeRamus.


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

Branch: refs/heads/trunk
Commit: c20f5fe31ca9edf062d5bdff536617f57dbe10d1
Parents: ef823b9
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Sat Sep 6 19:17:04 2014 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Sat Sep 6 19:17:04 2014 +0200

----------------------------------------------------------------------
 CHANGES.rst                     |  3 +++
 libcloud/compute/drivers/ec2.py | 38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/c20f5fe3/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index de10bdd..a1da690 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -89,6 +89,9 @@ Compute
 - Add new t2 instance types to the EC2 driver.
   [Tomaz Muraus]
 
+- Add support for Amazon GovCloud to the EC2 driver (us-gov-west-1 region).
+  [Chris DeRamus]
+
 Storage
 ~~~~~~~
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/c20f5fe3/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index f26797b..6a44d32 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -674,6 +674,44 @@ REGION_DETAILS = {
             't2.micro',
             't2.small',
             't2.medium'
+        ]
+    },
+    'us-gov-west-1': {
+        'endpoint': 'ec2.us-gov-west-1.amazonaws.com',
+        'api_name': 'ec2_us_govwest',
+        'country': 'US',
+        'instance_types': [
+            't1.micro',
+            'm1.small',
+            'm1.medium',
+            'm1.large',
+            'm1.xlarge',
+            'm2.xlarge',
+            'm2.2xlarge',
+            'm2.4xlarge',
+            'm3.medium',
+            'm3.large',
+            'm3.xlarge',
+            'm3.2xlarge',
+            'c1.medium',
+            'c1.xlarge',
+            'g2.2xlarge',
+            'c3.large',
+            'c3.xlarge',
+            'c3.2xlarge',
+            'c3.4xlarge',
+            'c3.8xlarge',
+            'hs1.4xlarge',
+            'hs1.8xlarge',
+            'i2.xlarge',
+            'i2.2xlarge',
+            'i2.4xlarge',
+            'i2.8xlarge',
+            'r3.large',
+            'r3.xlarge',
+            'r3.2xlarge',
+            'r3.4xlarge',
+            'r3.8xlarge',
             't2.micro',
             't2.small',
             't2.medium'


Mime
View raw message