You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/04/01 04:51:53 UTC

[1/4] libcloud git commit: FAM-657 Added eu-west-2 AWS region

Repository: libcloud
Updated Branches:
  refs/heads/trunk 18487b291 -> 8a7f46622


FAM-657 Added eu-west-2 AWS region


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

Branch: refs/heads/trunk
Commit: cb2fc661c52fe6ff402ac1a5e71bb3bd895957a5
Parents: e1e5c87
Author: Marat Komarov <ma...@scalr.com>
Authored: Sun Jan 29 10:10:29 2017 +0200
Committer: Anthony Shaw <an...@apache.org>
Committed: Sat Apr 1 15:50:22 2017 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 64 ++++++++++++++++++++++++++++++++++++
 libcloud/compute/types.py       |  2 ++
 2 files changed, 66 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/cb2fc661/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 9545728..997d761 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -1090,6 +1090,70 @@ REGION_DETAILS = {
             'x1.32xlarge'
         ]
     },
+    # EU (London) Region
+    'eu-west-2': {
+        'endpoint': 'ec2.eu-west-2.amazonaws.com',
+        'api_name': 'ec2_eu_west_london',
+        'country': 'United Kingdom',
+        'signature_version': '2',
+        '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',
+            'm4.large',
+            'm4.xlarge',
+            'm4.2xlarge',
+            'm4.4xlarge',
+            'm4.10xlarge',
+            'm4.16xlarge',
+            'c1.medium',
+            'c1.xlarge',
+            'cc2.8xlarge',
+            'c3.large',
+            'c3.xlarge',
+            'c3.2xlarge',
+            'c3.4xlarge',
+            'c3.8xlarge',
+            'c4.large',
+            'c4.xlarge',
+            'c4.2xlarge',
+            'c4.4xlarge',
+            'c4.8xlarge',
+            'cg1.4xlarge',
+            'g2.2xlarge',
+            'g2.8xlarge',
+            'cr1.8xlarge',
+            'hs1.8xlarge',
+            'i2.xlarge',
+            'i2.2xlarge',
+            'i2.4xlarge',
+            'i2.8xlarge',
+            'd2.xlarge',
+            'd2.2xlarge',
+            'd2.4xlarge',
+            'd2.8xlarge',
+            'r3.large',
+            'r3.xlarge',
+            'r3.2xlarge',
+            'r3.4xlarge',
+            'r3.8xlarge',
+            't2.nano',
+            't2.micro',
+            't2.small',
+            't2.medium',
+            't2.large',
+            'x1.32xlarge'
+        ]
+    },
     # EU (Frankfurt) Region
     'eu-central-1': {
         'endpoint': 'ec2.eu-central-1.amazonaws.com',

http://git-wip-us.apache.org/repos/asf/libcloud/blob/cb2fc661/libcloud/compute/types.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/types.py b/libcloud/compute/types.py
index aa5a13e..66405bd 100644
--- a/libcloud/compute/types.py
+++ b/libcloud/compute/types.py
@@ -184,6 +184,7 @@ class Provider(Type):
     EC2_US_EAST_OHIO = 'ec2_us_east_ohio'
     EC2_EU = 'ec2_eu_west'  # deprecated name
     EC2_EU_WEST = 'ec2_eu_west'
+    EC2_EU_WEST2 = 'ec2_eu_west_london'
     EC2_US_WEST = 'ec2_us_west'
     EC2_AP_SOUTHEAST = 'ec2_ap_southeast'
     EC2_AP_NORTHEAST = 'ec2_ap_northeast'
@@ -228,6 +229,7 @@ OLD_CONSTANT_TO_NEW_MAPPING = {
     Provider.EC2_US_EAST_OHIO: Provider.EC2,
     Provider.EC2_EU: Provider.EC2,
     Provider.EC2_EU_WEST: Provider.EC2,
+    Provider.EC2_EU_WEST2: Provider.EC2,
     Provider.EC2_US_WEST: Provider.EC2,
     Provider.EC2_AP_SOUTHEAST: Provider.EC2,
     Provider.EC2_AP_SOUTHEAST2: Provider.EC2,


[4/4] libcloud git commit: changes for #1009

Posted by an...@apache.org.
changes for #1009


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

Branch: refs/heads/trunk
Commit: 8a7f46622e297d6501f768c9a853fd23d0e4d73c
Parents: f542c7b
Author: Anthony Shaw <an...@apache.org>
Authored: Sat Apr 1 15:51:48 2017 +1100
Committer: Anthony Shaw <an...@apache.org>
Committed: Sat Apr 1 15:51:48 2017 +1100

----------------------------------------------------------------------
 CHANGES.rst | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/8a7f4662/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index dc4780a..6d70be6 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -19,6 +19,10 @@ Common
 Compute
 ~~~~~~~
 
+- [EC2] support for AWS eu-west-2 and ca-central-1 regions
+  [GITHUB-1009]
+  (Marat Komarov)
+
 - [EC2] Add P2 GPU instance types
   [GITHUB-996]
   (MJK)


[2/4] libcloud git commit: FAM-657 Added ca-central-1 AWS region

Posted by an...@apache.org.
FAM-657 Added ca-central-1 AWS region


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

Branch: refs/heads/trunk
Commit: e1e5c878356a71a3e352c6c57bc70197f002d142
Parents: 18487b2
Author: Marat Komarov <ma...@scalr.com>
Authored: Sun Jan 29 10:04:30 2017 +0200
Committer: Anthony Shaw <an...@apache.org>
Committed: Sat Apr 1 15:50:22 2017 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 64 ++++++++++++++++++++++++++++++++++++
 libcloud/compute/types.py       |  2 ++
 2 files changed, 66 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e1e5c878/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 7d8bc97..9545728 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -1463,6 +1463,70 @@ REGION_DETAILS = {
             'x1.32xlarge'
         ]
     },
+    # Canada (Central) Region
+    'ca-central-1': {
+        'endpoint': 'ec2.ca-central-1.amazonaws.com',
+        'api_name': 'ec2_ca_central_1',
+        'country': 'Canada',
+        'signature_version': '2',
+        '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',
+            'm4.large',
+            'm4.xlarge',
+            'm4.2xlarge',
+            'm4.4xlarge',
+            'm4.10xlarge',
+            'm4.16xlarge',
+            'c1.medium',
+            'c1.xlarge',
+            'cc2.8xlarge',
+            'c3.large',
+            'c3.xlarge',
+            'c3.2xlarge',
+            'c3.4xlarge',
+            'c3.8xlarge',
+            'c4.large',
+            'c4.xlarge',
+            'c4.2xlarge',
+            'c4.4xlarge',
+            'c4.8xlarge',
+            'cg1.4xlarge',
+            'g2.2xlarge',
+            'g2.8xlarge',
+            'cr1.8xlarge',
+            'hs1.8xlarge',
+            'i2.xlarge',
+            'i2.2xlarge',
+            'i2.4xlarge',
+            'i2.8xlarge',
+            'd2.xlarge',
+            'd2.2xlarge',
+            'd2.4xlarge',
+            'd2.8xlarge',
+            'r3.large',
+            'r3.xlarge',
+            'r3.2xlarge',
+            'r3.4xlarge',
+            'r3.8xlarge',
+            't2.nano',
+            't2.micro',
+            't2.small',
+            't2.medium',
+            't2.large',
+            'x1.32xlarge'
+        ]
+    },
     'us-gov-west-1': {
         'endpoint': 'ec2.us-gov-west-1.amazonaws.com',
         'api_name': 'ec2_us_govwest',

http://git-wip-us.apache.org/repos/asf/libcloud/blob/e1e5c878/libcloud/compute/types.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/types.py b/libcloud/compute/types.py
index 646725d..aa5a13e 100644
--- a/libcloud/compute/types.py
+++ b/libcloud/compute/types.py
@@ -192,6 +192,7 @@ class Provider(Type):
     EC2_US_WEST_OREGON = 'ec2_us_west_oregon'
     EC2_SA_EAST = 'ec2_sa_east'
     EC2_AP_SOUTHEAST2 = 'ec2_ap_southeast_2'
+    EC2_CA_CENTRAL1 = 'ec2_ca_central_1'
 
     ELASTICHOSTS_UK1 = 'elastichosts_uk1'
     ELASTICHOSTS_UK2 = 'elastichosts_uk2'
@@ -236,6 +237,7 @@ OLD_CONSTANT_TO_NEW_MAPPING = {
     Provider.EC2_US_WEST_OREGON: Provider.EC2,
     Provider.EC2_SA_EAST: Provider.EC2,
     Provider.EC2_AP_SOUTHEAST: Provider.EC2,
+    Provider.EC2_CA_CENTRAL1: Provider.EC2,
 
     # ElasticHosts
     Provider.ELASTICHOSTS_UK1: Provider.ELASTICHOSTS,


[3/4] libcloud git commit: FAM-657 bumped signature version 2 -> 4 Closes #1009

Posted by an...@apache.org.
FAM-657 bumped signature version 2 -> 4
Closes #1009


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

Branch: refs/heads/trunk
Commit: f542c7b562f77feba1f4b3c090fd5b4fe7a66d76
Parents: cb2fc66
Author: Marat Komarov <ma...@scalr.com>
Authored: Sun Jan 29 10:54:57 2017 +0200
Committer: Anthony Shaw <an...@apache.org>
Committed: Sat Apr 1 15:50:25 2017 +1100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f542c7b5/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 997d761..1c7a655 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -1095,7 +1095,7 @@ REGION_DETAILS = {
         'endpoint': 'ec2.eu-west-2.amazonaws.com',
         'api_name': 'ec2_eu_west_london',
         'country': 'United Kingdom',
-        'signature_version': '2',
+        'signature_version': '4',
         'instance_types': [
             't1.micro',
             'm1.small',
@@ -1532,7 +1532,7 @@ REGION_DETAILS = {
         'endpoint': 'ec2.ca-central-1.amazonaws.com',
         'api_name': 'ec2_ca_central_1',
         'country': 'Canada',
-        'signature_version': '2',
+        'signature_version': '4',
         'instance_types': [
             't1.micro',
             'm1.small',