Skip to content

Commit

Permalink
auroracompute: Add Barcelona (Spain) region to driver
Browse files Browse the repository at this point in the history
This is the new to open region of Aurora Compute

Closes #835

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
  • Loading branch information
wido authored and Kami committed Jul 10, 2016
1 parent 52b037b commit c97ef89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/compute/drivers/auroracompute.rst
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion libcloud/compute/drivers/auroracompute.py
Expand Up @@ -28,14 +28,16 @@ class AuroraComputeRegion(object):
MIA = 'Miami'
LAX = 'Los Angeles'
TYO = 'Tokyo'
BCN = 'Barcelona'


REGION_ENDPOINT_MAP = {
AuroraComputeRegion.AMS: '/ams',
AuroraComputeRegion.RTD: '/rtd',
AuroraComputeRegion.MIA: '/mia',
AuroraComputeRegion.LAX: '/lax',
AuroraComputeRegion.TYO: '/tyo'
AuroraComputeRegion.TYO: '/tyo',
AuroraComputeRegion.BCN: '/bcn'
}


Expand Down

0 comments on commit c97ef89

Please sign in to comment.