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 02:42:31 UTC

svn commit: r941123 - /incubator/libcloud/trunk/libcloud/base.py

Author: pquerna
Date: Wed May  5 00:42:31 2010
New Revision: 941123

URL: http://svn.apache.org/viewvc?rev=941123&view=rev
Log:
Add class docs for NodeAuth classes

Modified:
    incubator/libcloud/trunk/libcloud/base.py

Modified: incubator/libcloud/trunk/libcloud/base.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/base.py?rev=941123&r1=941122&r2=941123&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/base.py (original)
+++ incubator/libcloud/trunk/libcloud/base.py Wed May  5 00:42:31 2010
@@ -143,12 +143,18 @@ class NodeLocation(object):
                 % (self.id, self.name, self.country, self.driver.name))
 
 class NodeAuthSSHKey(object):
+    """
+    An SSH key to be installed for authentication to a node.
+    """
     def __init__(self, pubkey):
         self.pubkey = pubkey
     def __repr__(self):
         return '<NodeAuthSSHKey>'
 
 class NodeAuthPassword(object):
+    """
+    A password to be used for authentication to a node.
+    """
     def __init__(self, password):
         self.password = password
     def __repr__(self):