deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1234778 - in /deltacloud/trunk/server/lib/deltacloud/drivers: mock/data/instances/inst0.yml mock/data/instances/inst1.yml mock/data/instances/inst2.yml mock/mock_driver.rb rhevm/rhevm_driver.rb
Date Mon, 23 Jan 2012 13:17:25 GMT
Author: marios
Date: Mon Jan 23 13:17:23 2012
New Revision: 1234778

URL: http://svn.apache.org/viewvc?rev=1234778&view=rev
Log:
Minor fixes - adds empty storage_volumes for mock driver data and supported_collections for
rhevm

Modified:
    deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst0.yml
    deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst1.yml
    deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst2.yml
    deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb
    deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb

Modified: deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst0.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst0.yml?rev=1234778&r1=1234777&r2=1234778&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst0.yml (original)
+++ deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst0.yml Mon Jan 23
13:17:23 2012
@@ -20,3 +20,4 @@
 :name: Mock Instance With Profile Change
 :id: inst0
 :state: RUNNING
+:storage_volumes: []

Modified: deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst1.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst1.yml?rev=1234778&r1=1234777&r2=1234778&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst1.yml (original)
+++ deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst1.yml Mon Jan 23
13:17:23 2012
@@ -19,3 +19,4 @@
 :actions:
 - :reboot
 - :stop
+:storage_volumes: []

Modified: deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst2.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst2.yml?rev=1234778&r1=1234777&r2=1234778&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst2.yml (original)
+++ deltacloud/trunk/server/lib/deltacloud/drivers/mock/data/instances/inst2.yml Mon Jan 23
13:17:23 2012
@@ -19,3 +19,4 @@
 :actions:
 - :reboot
 - :stop
+:storage_volumes: []

Modified: deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb?rev=1234778&r1=1234777&r2=1234778&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb (original)
+++ deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb Mon Jan 23 13:17:23
2012
@@ -237,7 +237,6 @@ module Deltacloud::Drivers::Mock
     #
     # Storage Volumes
     #
-
     def storage_volumes(credentials, opts=nil)
       check_credentials( credentials )
       volumes = @client.build_all(StorageVolume)

Modified: deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb?rev=1234778&r1=1234777&r2=1234778&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb (original)
+++ deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb Mon Jan 23 13:17:23
2012
@@ -33,6 +33,10 @@ module Deltacloud
 
 class RHEVMDriver < Deltacloud::BaseDriver
 
+  def supported_collections
+    DEFAULT_COLLECTIONS - [:storage_snapshots]
+  end
+
   feature :instances, :user_name do
     constraint :max_length, 50
   end



Mime
View raw message