mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
feature #1678: Add total capacity check on VMware datastores
This commit is contained in:
1 parent
7246179bc9
commit
47ae49ed07
1 file changed
+5
-2
@@ -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
|
||||
|
||||
########################################################################
|
||||
|
||||
Reference in new issue
Block a user