On Thu, 2012-11-29 at 10:21 +0200, [email protected] wrote:
> From: marios <[email protected]>

ACK && pushed; though this still needs to be addressed:

> diff --git a/server/lib/cimi/models/volume.rb 
> b/server/lib/cimi/models/volume.rb
> index d777cd0..6bae401 100644
> --- a/server/lib/cimi/models/volume.rb
> +++ b/server/lib/cimi/models/volume.rb
> @@ -87,7 +87,8 @@ class CIMI::Model::Volume < CIMI::Model::Base
>                  :snapshots => [], #fixme...
>                  :type => 'http://schemas.dmtf.org/cimi/1/mapped',
>                  :state => volume.state,
> -                :meters => []
> +                :meters => [],
> +                :operations => [{:href=> context.volume_url(volume.id), :rel 
> => "delete"}]

We should only include the delete operation if the driver supports it.

David


Reply via email to