libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r1054185 - in /incubator/libcloud/trunk: CHANGES libcloud/drivers/rackspace.py
Date Sat, 01 Jan 2011 01:51:18 GMT
Author: jerry
Date: Sat Jan  1 01:51:18 2011
New Revision: 1054185

URL: http://svn.apache.org/viewvc?rev=1054185&view=rev
Log:
Reflect multiple locations for Rackspace, but unmanaged from API

Modified:
    incubator/libcloud/trunk/CHANGES
    incubator/libcloud/trunk/libcloud/drivers/rackspace.py

Modified: incubator/libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/CHANGES?rev=1054185&r1=1054184&r2=1054185&view=diff
==============================================================================
--- incubator/libcloud/trunk/CHANGES (original)
+++ incubator/libcloud/trunk/CHANGES Sat Jan  1 01:51:18 2011
@@ -2,6 +2,11 @@
 
 Changes with Apache Libcloud 0.4.1 [In Development]
 
+    *) Append ORD1 to available Rackspace location, but keep in the
+       same node as DFW1, because it's not readable or writeable from
+       the API.
+       [Per suggestion of Grig Gheorghiu]
+
     *) ex_create_ip_group, ex_list_ip_groups, ex_delete_ip_group,
        ex_share_ip, ex_unshare_ip, ex_list_ip_addresses additions
        to Rackspace driver

Modified: incubator/libcloud/trunk/libcloud/drivers/rackspace.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/rackspace.py?rev=1054185&r1=1054184&r2=1054185&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/rackspace.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/rackspace.py Sat Jan  1 01:51:18 2011
@@ -224,7 +224,12 @@ class RackspaceNodeDriver(NodeDriver):
         return self._to_images(self.connection.request('/images/detail').object)
 
     def list_locations(self):
-        return [NodeLocation(0, "Rackspace DFW1", 'US', self)]
+        """Lists available locations
+
+        Locations cannot be set or retrieved via the API, but currently
+        there are two locations, DFW and ORD.
+        """
+        return [NodeLocation(0, "Rackspace DFW1/ORD1", 'US', self)]
 
     def create_node(self, **kwargs):
         """Create a new rackspace node



Mime
View raw message