    # File lib/fog/libvirt/requests/compute/list_volumes.rb, line 5
            def list_volumes(filter = { })
              data = []
              if filter.keys.empty?
                raw_volumes do |pool|
                  pool.list_volumes.each do |volume_name|
                    data << volume_to_attributes(pool.lookup_volume_by_name(volume_name))
                  end
                end
              else
                return [get_volume(filter)]
              end
              data.compact
            end