mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
feature #132: Support reboot in dummy drivers
This commit is contained in:
parent
a6592d09be
commit
bb123d2536
@ -52,6 +52,10 @@ class DummyDriver < VirtualMachineDriver
|
||||
send_message(ACTION[:shutdown],RESULT[:success],id)
|
||||
end
|
||||
|
||||
def reboot(id, drv_message)
|
||||
send_message(ACTION[:reboot],RESULT[:success],id)
|
||||
end
|
||||
|
||||
def cancel(id, drv_message)
|
||||
send_message(ACTION[:cancel],RESULT[:success],id)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user