Sha256: 0a58a52be7bd104976d19e01784466a5bfd69191c02fe33d0aeff13363ba2864

Contents?: true

Size: 957 Bytes

Versions: 6

Compression:

Stored size: 957 Bytes

Contents

!!!XML
%storage_volumes
  - @elements.each do |volume|
    %storage_volume{ :href => storage_volume_url(volume.id), :id => volume.id }
      %created<
        =volume.created
      %capacity<
        =volume.capacity
      %state<
        =volume.state
      %device<
        =volume.device
      %instance_id<
        =volume.instance_id
      - unless volume.instance_id.nil?
        %instance{:href => instance_url(volume.instance_id), :id => volume.instance_id}
      %actions
        - if driver.respond_to?(:destroy_storage_volume)
          %link{ :rel => "destroy", :method => "delete", :href => destroy_storage_volume_url(volume.id)}
        - if driver.respond_to?(:attach_storage_volume)
          %link{ :rel => "attach", :method => "post", :href => attach_storage_volume_url(volume.id)}
        - if driver.respond_to?(:detach_storage_volume)
          %link{ :rel => "detach", :method => "post", :href => detach_storage_volume_url(volume.id)}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
steamcannon-deltacloud-core-0.0.8.1-java views/storage_volumes/index.xml.haml
steamcannon-deltacloud-core-0.0.8.1 views/storage_volumes/index.xml.haml
steamcannon-deltacloud-core-0.0.7.2 views/storage_volumes/index.xml.haml
steamcannon-deltacloud-core-0.0.7.2-java views/storage_volumes/index.xml.haml
steamcannon-deltacloud-core-0.0.7.1 views/storage_volumes/index.xml.haml
steamcannon-deltacloud-core-0.0.7.1-java views/storage_volumes/index.xml.haml