# File lib/fog/libvirt/models/compute/volumes.rb, line 70 def get_by_path(path) connection.raw.list_storage_pools.each do |poolname| pool=connection.raw.lookup_storage_pool_by_name(poolname) volume=pool.lookup_volume_by_key(path) unless volume.nil? return volume end end return nil end