Forgot something in my last reply:

> diff --git a/server/lib/cimi/drivers/mock/mock_driver.rb 
> b/server/lib/cimi/drivers/mock/mock_driver.rb
> new file mode 100644
> index 0000000..bcb1e2c
> --- /dev/null
> +++ b/server/lib/cimi/drivers/mock/mock_driver.rb

> +class CIMI::Drivers::Mock
> +  include Deltacloud::Drivers::Mock
> +  include CIMI::Model
> +
> +  def initialize
> +    @deltacloud_driver = MockDriver.new
> +  end

At first, I thought CIMI drives should subclass Deltacloud drivers. But
seeing this, I actually like the idea of them wrapping the Deltacloud
drives - that makes it much clearer where CIMI uses Deltacloud
functionality.

David


Reply via email to