Repository: libcloud Updated Branches: refs/heads/trunk 52b037bc2 -> f783845da
auroracompute: Add Barcelona (Spain) region to driver This is the new to open region of Aurora Compute Closes #835 Signed-off-by: Tomaz Muraus <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c97ef89d Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c97ef89d Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c97ef89d Branch: refs/heads/trunk Commit: c97ef89df2c1cee9bee34198f663ff77a73cf432 Parents: 52b037b Author: Wido den Hollander <[email protected]> Authored: Wed Jul 6 10:01:46 2016 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Sun Jul 10 12:26:33 2016 +0200 ---------------------------------------------------------------------- docs/compute/drivers/auroracompute.rst | 1 + libcloud/compute/drivers/auroracompute.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/c97ef89d/docs/compute/drivers/auroracompute.rst ---------------------------------------------------------------------- diff --git a/docs/compute/drivers/auroracompute.rst b/docs/compute/drivers/auroracompute.rst index 74b9997..42c6c6f 100644 --- a/docs/compute/drivers/auroracompute.rst +++ b/docs/compute/drivers/auroracompute.rst @@ -11,6 +11,7 @@ The datacenters / availability zones are located in: - Miami (US) - Los Angelos (US) - Tokyo (JP) +- Barcelona (ES) .. figure:: /_static/images/provider_logos/pcextreme.png http://git-wip-us.apache.org/repos/asf/libcloud/blob/c97ef89d/libcloud/compute/drivers/auroracompute.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/auroracompute.py b/libcloud/compute/drivers/auroracompute.py index 6be67ed..d5ed75a 100644 --- a/libcloud/compute/drivers/auroracompute.py +++ b/libcloud/compute/drivers/auroracompute.py @@ -28,6 +28,7 @@ class AuroraComputeRegion(object): MIA = 'Miami' LAX = 'Los Angeles' TYO = 'Tokyo' + BCN = 'Barcelona' REGION_ENDPOINT_MAP = { @@ -35,7 +36,8 @@ REGION_ENDPOINT_MAP = { AuroraComputeRegion.RTD: '/rtd', AuroraComputeRegion.MIA: '/mia', AuroraComputeRegion.LAX: '/lax', - AuroraComputeRegion.TYO: '/tyo' + AuroraComputeRegion.TYO: '/tyo', + AuroraComputeRegion.BCN: '/bcn' }
