From 559f79a2e38fc684931f80078458dc9c0c301c68 Mon Sep 17 00:00:00 2001
From: Bernard Kerckenaere <bernieke@bernieke.com>
Date: Fri, 28 Jun 2013 12:06:13 +0200
Subject: [PATCH] Issue LIBCLOUD-352: Add list_volumes to compute.

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

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
-- 
1.8.3

