Author: tomaz
Date: Sun Jan 27 06:28:19 2013
New Revision: 1439030
URL: http://svn.apache.org/viewvc?rev=1439030&view=rev
Log:
Fix the old rackspace next-gen stuff.
Modified:
libcloud/branches/0.12.x/libcloud/compute/drivers/rackspacenova.py
Modified: libcloud/branches/0.12.x/libcloud/compute/drivers/rackspacenova.py
URL:
http://svn.apache.org/viewvc/libcloud/branches/0.12.x/libcloud/compute/drivers/rackspacenova.py?rev=1439030&r1=1439029&r2=1439030&view=diff
==============================================================================
--- libcloud/branches/0.12.x/libcloud/compute/drivers/rackspacenova.py
(original)
+++ libcloud/branches/0.12.x/libcloud/compute/drivers/rackspacenova.py Sun Jan
27 06:28:19 2013
@@ -19,9 +19,13 @@ from libcloud.compute.providers import P
from libcloud.compute.drivers.openstack import OpenStack_1_1_Connection,\
OpenStack_1_1_NodeDriver
from libcloud.common.types import LibcloudError
+from libcloud.common.rackspace import (
+ AUTH_URL_US, AUTH_URL_UK)
class RackspaceNovaConnection(OpenStack_1_1_Connection):
+ auth_url = AUTH_URL_US
+ _auth_version = '2.0'
get_endpoint_args = {}
def get_endpoint(self):
@@ -59,6 +63,7 @@ class RackspaceNovaDfwConnection(Rackspa
class RackspaceNovaLonConnection(RackspaceNovaConnection):
+ auth_url = AUTH_URL_UK
get_endpoint_args = {'service_type': 'compute',
'name': 'cloudServersOpenStack',