Method: Libvirt::Collection::StoragePoolCollection#inactive

Defined in:
lib/libvirt/collection/storage_pool_collection.rb

#inactiveArray<StoragePool>

Returns the inactive storage pools.

Returns:



31
32
33
34
35
# File 'lib/libvirt/collection/storage_pool_collection.rb', line 31

def inactive
  read_array(:virConnectListDefinedStoragePools, :virConnectNumOfDefinedStoragePools, :string).collect do |name|
    find_by_name(name)
  end
end