libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [1/2] git commit: Issue LIBCLOUD-352: Add list_volumes to compute.
Date Sun, 07 Jul 2013 14:56:33 GMT
Updated Branches:
  refs/heads/0.13.x 5e481e061 -> c79d0009e
  refs/heads/trunk 78f895879 -> 3fc07bb14


Issue LIBCLOUD-352: Add list_volumes to compute.

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


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

Branch: refs/heads/trunk
Commit: 3fc07bb142d43839ab582e7b6a9240dfa4693742
Parents: 78f8958
Author: Bernard Kerckenaere <bernieke@bernieke.com>
Authored: Fri Jun 28 12:06:13 2013 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Sun Jul 7 16:56:00 2013 +0200

----------------------------------------------------------------------
 libcloud/compute/base.py | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3fc07bb1/libcloud/compute/base.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py
index 829ec37..03f0ecf 100644
--- a/libcloud/compute/base.py
+++ b/libcloud/compute/base.py
@@ -770,6 +770,16 @@ class NodeDriver(BaseDriver):
 
         raise NotImplementedError('detach not implemented for this driver')
 
+    def list_volumes(self):
+        """
+        List storage volumes.
+
+        @return: list of storageVolume objects
+        @rtype: C{list} of L{StorageVolume}
+        """
+        raise NotImplementedError(
+            'list_volumes not implemented for this driver')
+
     def _wait_until_running(self, node, wait_period=3, timeout=600,
                             ssh_interface='public_ips', force_ipv4=True):
         # This is here for backward compatibility and will be removed in the


Mime
View raw message