libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1201119 - in /libcloud/trunk: CHANGES libcloud/compute/drivers/opsource.py
Date Sat, 12 Nov 2011 00:23:47 GMT
Author: tomaz
Date: Sat Nov 12 00:23:47 2011
New Revision: 1201119

URL: http://svn.apache.org/viewvc?rev=1201119&view=rev
Log:
Fix an inconsistency in OpSource driver and make sure public_ips is an
empty list ([]), not 'unknown'

Modified:
    libcloud/trunk/CHANGES
    libcloud/trunk/libcloud/compute/drivers/opsource.py

Modified: libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1201119&r1=1201118&r2=1201119&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Sat Nov 12 00:23:47 2011
@@ -27,6 +27,10 @@ Changes with Apache Libcloud in developm
        private_ips attributes are a list.
        [Tomaz Muraus]
 
+     - Fix an inconsistency in OpSource driver and make sure public_ips is an
+       empty list ([]), not 'unknown'
+       [Tomaz Muraus]
+
   *) Storage:
 
      - Update Amazon S3 driver to support a new region - US West 2 (Oregon)

Modified: libcloud/trunk/libcloud/compute/drivers/opsource.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/opsource.py?rev=1201119&r1=1201118&r2=1201119&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/opsource.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/opsource.py Sat Nov 12 00:23:47 2011
@@ -540,7 +540,7 @@ class OpsourceNodeDriver(NodeDriver):
         n = Node(id=findtext(element, 'id', SERVER_NS),
                  name=findtext(element, 'name', SERVER_NS),
                  state=state,
-                 public_ips="unknown",
+                 public_ips=[],
                  private_ips=findtext(element, 'privateIpAddress', SERVER_NS),
                  driver=self.connection.driver,
                  extra=extra)



Mime
View raw message