1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-14 19:24:10 +03:00

StopMonitor action for IM dummy drivers

This commit is contained in:
Tino Vazquez 2013-11-04 17:32:52 +01:00
parent 4988ddd0ec
commit b1d2785707

View File

@ -45,6 +45,7 @@ class DummyInformationManager < OpenNebulaDriver
# register actions # register actions
register_action(:MONITOR, method("action_monitor")) register_action(:MONITOR, method("action_monitor"))
register_action(:STOPMONITOR, method("stop_monitor"))
end end
# Execute the sensor array in the remote host # Execute the sensor array in the remote host
@ -72,6 +73,10 @@ class DummyInformationManager < OpenNebulaDriver
send_message("MONITOR", RESULT[:success], number, results) send_message("MONITOR", RESULT[:success], number, results)
end end
def stop_monitor(number, host)
send_message("STOPMONITOR", RESULT[:success], number, nil)
end
end end