deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH] Fix for DTACLOUD_135 - storage_volumes and storage_snapshots not (currently) supported by vsphere_driver
Date Thu, 02 Feb 2012 09:44:30 GMT
From: marios <marios@redhat.com>

https://issues.apache.org/jira/browse/DTACLOUD-135

Signed-off-by: marios <marios@redhat.com>
---
 .../deltacloud/drivers/vsphere/vsphere_driver.rb   |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb b/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
index a2a5249..1f9cc2c 100644
--- a/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
+++ b/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
@@ -34,6 +34,11 @@ module Deltacloud::Drivers::VSphere
     feature :instances, :user_data
     feature :instances, :user_name
 
+
+    def supported_collections
+      DEFAULT_COLLECTIONS - [:storage_volumes, :storage_snapshots]
+    end
+
     # There is just one hardware profile where memory is measured using maximum
     # memory available on ESX for virtual machines and CPU using maximum free
     # CPU cores in ESX.
-- 
1.7.6.5


Mime
View raw message