search for: all_pools

Displaying 1 result from an estimated 1 matches for "all_pools".

2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...s.rb +++ /dev/null @@ -1,221 +0,0 @@ -require 'rexml/document' -include REXML - -def String.random_alphanumeric(size=16) - s = "" - size.times { s << (i = Kernel.rand(62); i += ((i < 10) ? 48 : ((i < 36) ? 55 : 61 ))).chr } - s -end - -def all_storage_pools(conn) - all_pools = conn.list_defined_storage_pools - all_pools.concat(conn.list_storage_pools) - return all_pools -end - -def get_libvirt_lvm_pool_from_volume(db_volume) - phys_volume = StorageVolume.find(:first, :conditions => - [ "lvm_pool_id = ?", db_volume.stora...