You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/07/07 16:56:34 UTC
[2/2] git commit: Issue LIBCLOUD-352: Add list_volumes to compute.
Issue LIBCLOUD-352: Add list_volumes to compute.
Signed-off-by: Tomaz Muraus <to...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c79d0009
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c79d0009
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c79d0009
Branch: refs/heads/0.13.x
Commit: c79d0009e0fbb9e61f9cdd184826850c43198483
Parents: 5e481e0
Author: Bernard Kerckenaere <be...@bernieke.com>
Authored: Fri Jun 28 12:06:13 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sun Jul 7 16:56:27 2013 +0200
----------------------------------------------------------------------
libcloud/compute/base.py | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/c79d0009/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