1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Feature #3718: Fix dummy probe reporting for snapshot_size

This commit is contained in:
Jaime Melis 2015-06-29 19:55:20 +02:00
parent bf5273a461
commit e48d1a28fe

View File

@ -198,7 +198,7 @@ class DummyDriver < VirtualMachineDriver
"#{POLL_ATTRIBUTE[:cpu]}=#{max_cpu * (rand(95)+5)/100} " \
"#{POLL_ATTRIBUTE[:disk_size]}=[ID=0, SIZE=#{rand(1024)}] "\
"#{POLL_ATTRIBUTE[:disk_size]}=[ID=1, SIZE=#{rand(1024)}] "\
"#{POLL_ATTRIBUTE[:snapshot_size]}=[ID=1, DISK_ID=0, SIZE=#{rand(1024)}] "
"#{POLL_ATTRIBUTE[:snapshot_size]}=[ID=0, DISK_ID=0, SIZE=#{rand(1024)}] "
send_message(ACTION[:poll],result,id,monitor_info)
end