libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1440132 - in /libcloud/trunk: CHANGES libcloud/compute/drivers/elasticstack.py
Date Tue, 29 Jan 2013 21:09:25 GMT
Author: tomaz
Date: Tue Jan 29 21:09:24 2013
New Revision: 1440132

URL: http://svn.apache.org/viewvc?rev=1440132&view=rev
Log:
Revert my previous change which caused a regression and pass 'vnc' argument
instead of 'vnc:ip' to the API when vnc_password is provided.

Reference: http://www.elastichosts.com/cloud-support/api

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

Modified: libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1440132&r1=1440131&r2=1440132&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Tue Jan 29 21:09:24 2013
@@ -77,9 +77,9 @@ Changes with Apache Libcloud in developm
      (LIBCLOUD-253)
      [L. Schaub]
 
-   - Modify ElasticStack driver class to not pass 'vnc:ip auto' argument to the
-     API when creating a server. It looks like this argument is not supported
-     anymore.
+   - Modify ElasticStack driver class to pass 'vnc auto' instead of
+     'vnc:ip auto' argument to the API when creating a server.
+     It looks like 'vnc:ip' has been replaced with 'vnc'.
      [Rick Copeland, Tomaz Muraus]
 
    - Add new EC2 instance type - High Storage Eight Extra Large Instance

Modified: libcloud/trunk/libcloud/compute/drivers/elasticstack.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/elasticstack.py?rev=1440132&r1=1440131&r2=1440132&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/elasticstack.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/elasticstack.py Tue Jan 29 21:09:24 2013
@@ -308,7 +308,7 @@ class ElasticStackBaseNodeDriver(NodeDri
         node_data.update({'nic:0:model': nic_model, 'nic:0:dhcp': 'auto'})
 
         if vnc_password:
-            node_data.update({'vnc:password': vnc_password})
+            node_data.update({'vnc': 'auto', 'vnc:password': vnc_password})
 
         response = self.connection.request(
             action='/servers/create', data=json.dumps(node_data),



Mime
View raw message