mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #1678: Add total capacity check on VMware datastores
This commit is contained in:
parent
7246179bc9
commit
47ae49ed07
@ -394,12 +394,15 @@ class VIHost
|
||||
|
||||
# Networking
|
||||
str_info << "NETRX=" << @net_rx.to_s << "\n"
|
||||
str_info << "NETTX=" << @net_tx.to_s
|
||||
str_info << "NETTX=" << @net_tx.to_s << "\n"
|
||||
|
||||
# Datastores
|
||||
@free_ds_info.each{|k,v|
|
||||
str_info << "DS_#{k}_FREE_MB" << v << "\n"
|
||||
str_info << "DS_#{k}_FREE_MB" << v[:free_space] << "\n"
|
||||
str_info << "DS_#{k}_TOTAL_MB" << v[:capacity] << "\n"
|
||||
}
|
||||
|
||||
str_info.strip
|
||||
end
|
||||
|
||||
########################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user