libcloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r908172 - /incubator/libcloud/trunk/libcloud/drivers/slicehost.py
Date Tue, 09 Feb 2010 19:39:38 GMT
Author: jerry
Date: Tue Feb  9 19:39:38 2010
New Revision: 908172

URL: http://svn.apache.org/viewvc?rev=908172&view=rev
Log:
Updated Slicehost locations

Modified:
    incubator/libcloud/trunk/libcloud/drivers/slicehost.py

Modified: incubator/libcloud/trunk/libcloud/drivers/slicehost.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/slicehost.py?rev=908172&r1=908171&r2=908172&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/slicehost.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/slicehost.py Tue Feb  9 19:39:38 2010
@@ -75,8 +75,11 @@
         return self._to_images(self.connection.request('/images.xml').object)
 
     def list_locations(self):
-        # TODO: This isn't accurate. Some Slices are in Dallas, some are in St Louis (?)
-        return [NodeLocation(0, "Slicehost Central US", 'US', self)]
+        return [
+            NodeLocation(0, 'St. Louis (STL-A)', 'US', self),
+            NodeLocation(0, 'St. Louis (STL-B)', 'US', self),
+            NodeLocation(0, 'Dallas-Fort Worth (DFW-1)', 'US', self)
+        ]
 
     def create_node(self, **kwargs):
         name = kwargs['name']



Mime
View raw message