deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [2/2] git commit: Fix for DTACLOUD_135 - storage_volumes and storage_snapshots not (currently) supported by vsphere_driver
Date Fri, 10 Feb 2012 12:51:05 GMT
Fix for DTACLOUD_135 - storage_volumes and storage_snapshots not (currently)
supported by vsphere_driver

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


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/9fafb55e
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/9fafb55e
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/9fafb55e

Branch: refs/heads/master
Commit: 9fafb55e80141d5ad8dcd7ad4bea36f24546fa8c
Parents: 0fc7be2
Author: marios <marios@redhat.com>
Authored: Thu Feb 2 11:38:02 2012 +0200
Committer: marios <marios@redhat.com>
Committed: Thu Feb 9 12:12:07 2012 +0200

----------------------------------------------------------------------
 .../deltacloud/drivers/vsphere/vsphere_driver.rb   |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/9fafb55e/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb b/server/lib/deltacloud/drivers/vsphere/vsphere_driver.rb
index b60d7c4..6b2ab8c 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.


Mime
View raw message