Add soft reboot action to OCCI

This commit is contained in:
Daniel Molina committed 2012-01-11 18:35:57 +01:00
1 parent 186fc14c12
commit ffc17f6231
1 file changed
+2 -1
+2 -1
View File
@@ -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