You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/05/05 00:36:35 UTC
svn commit: r941079 - /incubator/libcloud/trunk/libcloud/drivers/softlayer.py
Author: pquerna
Date: Tue May 4 22:36:34 2010
New Revision: 941079
URL: http://svn.apache.org/viewvc?rev=941079&view=rev
Log:
Use ex_ prefix in softlayer, and improve create_node docs
Modified:
incubator/libcloud/trunk/libcloud/drivers/softlayer.py
Modified: incubator/libcloud/trunk/libcloud/drivers/softlayer.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/softlayer.py?rev=941079&r1=941078&r2=941079&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/softlayer.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/softlayer.py Tue May 4 22:36:34 2010
@@ -310,14 +310,16 @@ class SoftLayerNodeDriver(NodeDriver):
return None
def create_node(self, **kwargs):
- """
- @keyword domain: e.g. libcloud.org
- @type domain: str
+ """Create a new SoftLayer node
+
+ See L{NodeDriver.create_node} for more keyword args.
+ @keyword ex_domain: e.g. libcloud.org
+ @type ex_domain: C{string}
"""
name = kwargs['name']
image = kwargs['image']
size = kwargs['size']
- domain = kwargs.get('domain')
+ domain = kwargs.get('ex_domain')
location = kwargs['location']
if domain == None:
if name.find(".") != -1: