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 <[email protected]> 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 <[email protected]> Authored: Fri Jun 28 12:06:13 2013 +0200 Committer: Tomaz Muraus <[email protected]> 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
