You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by je...@apache.org on 2010/02/09 20:39:38 UTC

svn commit: r908172 - /incubator/libcloud/trunk/libcloud/drivers/slicehost.py

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']