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

Add soft reboot action to OCCI

This commit is contained in:
Daniel Molina 2012-01-11 18:35:57 +01:00
parent 186fc14c12
commit ffc17f6231

@ -67,8 +67,9 @@ class VirtualMachineOCCI < VirtualMachine
"SUSPENDED" => { :from => ["ACTIVE"], :action => :suspend},
"RESUME" => { :from => ["STOPPED", "SUSPENDED"], :action => :resume},
"CANCEL" => { :from => ["ACTIVE"], :action => :cancel},
"REBOOT" => { :from => ["ACTIVE"], :action => :reboot},
"SHUTDOWN" => { :from => ["ACTIVE"], :action => :shutdown},
"DONE" => { :from => VM_STATE, :action => :finalize},
"DONE" => { :from => VM_STATE, :action => :finalize}
}
# Class constructor