plugins/compute/app/services/service_layer/compute_services/volume.rb
# DEPRECATED: please use the volumes method from block_storage plugin!
please use the volumes method from block_storage plugin!
please use the volumes method from block_storage plugin!
def volumes(server_id, _filter = {})
        volumes = service_manager.block_storage.volumes_detail
        server_volumes = volumes.select do |vol|
          vol.attachments.find do |attachment|
            attachment['serverId'] == server_id ||
              attachment['server_id'] == server_id
          end
        end
      end
def volumes ( server_id , _filter = { } ) volumes = service_manager . block_storage . volumes_detail server_volumes = volumes . select do | vol | vol . attachments . find do | attachment | attachment [ 'serverId' ] == server_id || attachment [ 'server_id' ] == server_id end end end
DEPRECATED: please use the volumes method from block_storage plugin!
DEPRECATED : please use the volumes method from block_storage plugin!
# volumes = elektron_compute.get('os-volumes', filter).body['volumes']
server_id
<not_specific>
_filter
<not_specific>