You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/07/05 09:13:41 UTC

[5/6] libcloud git commit: Added documentation. Closes #833

Added documentation.
Closes #833


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5430cd25
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5430cd25
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5430cd25

Branch: refs/heads/trunk
Commit: 5430cd25d75e171c2eb0a7dcec5c40c4e19fad8a
Parents: fa4a89a
Author: Juan Font Alonso <ju...@gmail.com>
Authored: Tue Jul 5 09:28:22 2016 +0200
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Jul 5 19:12:11 2016 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/vcloud.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/5430cd25/libcloud/compute/drivers/vcloud.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/vcloud.py b/libcloud/compute/drivers/vcloud.py
index f8067c9..2766853 100644
--- a/libcloud/compute/drivers/vcloud.py
+++ b/libcloud/compute/drivers/vcloud.py
@@ -2011,6 +2011,21 @@ class VCloud_1_5_NodeDriver(VCloudNodeDriver):
         return res
 
     def ex_change_vm_admin_password(self, vapp_or_vm_id, ex_admin_password):
+        """
+        Changes the admin (or root) password of VM or VMs under the vApp. If
+        the vapp_or_vm_id param represents a link to an vApp all VMs that
+        are attached to this vApp will be modified.
+
+        :keyword    vapp_or_vm_id: vApp or VM ID that will be modified. If a
+                                   vApp ID is used here all attached VMs
+                                   will be modified
+        :type       vapp_or_vm_id: ``str``
+
+        :keyword    ex_admin_password: admin password to be used.
+        :type       ex_admin_password: ``str``
+
+        :rtype: ``None``
+        """
         if ex_admin_password is None:
             return