mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
Feature #3654: Remove boot action from oca, cli & sunstone
This commit is contained in:
1 parent
aab0fe213f
commit
f919242634
11 files changed
+19
-96
No files matched your search
@@ -560,7 +560,6 @@ public class VirtualMachine extends PoolElement{
|
||||
* <li>{@link VirtualMachine#suspend()}</li>
|
||||
* <li>{@link VirtualMachine#resume()}</li>
|
||||
* <li>{@link VirtualMachine#delete(boolean)}</li>
|
||||
* <li>{@link VirtualMachine#boot()}</li>
|
||||
* <li>{@link VirtualMachine#poweroff()}</li>
|
||||
* <li>{@link VirtualMachine#resched()}</li>
|
||||
* <li>{@link VirtualMachine#unresched()}</li>
|
||||
@@ -569,7 +568,7 @@ public class VirtualMachine extends PoolElement{
|
||||
*
|
||||
* @param action The action name to be performed, can be:<br/>
|
||||
* "shutdown", "hold", "release", "stop", "shutdown-hard", "suspend",
|
||||
* "resume", "boot", "delete", "delete-recreate", "reboot", "resched",
|
||||
* "resume", "delete", "delete-recreate", "reboot", "resched",
|
||||
* "unresched", "reboot-hard", "poweroff", "undeploy", "undeploy-hard"
|
||||
* @return If an error occurs the error message contains the reason.
|
||||
*/
|
||||
@@ -1048,15 +1047,6 @@ public class VirtualMachine extends PoolElement{
|
||||
return action(actionSt);
|
||||
}
|
||||
|
||||
/**
|
||||
* Forces a re-deployment of a VM in UNKNOWN or BOOT states.
|
||||
* @return If an error occurs the error message contains the reason.
|
||||
*/
|
||||
public OneResponse boot()
|
||||
{
|
||||
return action("boot");
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the re-scheduling flag for the VM
|
||||
* @return If an error occurs the error message contains the reason.
|
||||
@@ -1238,17 +1228,6 @@ public class VirtualMachine extends PoolElement{
|
||||
return action("resubmit");
|
||||
}
|
||||
|
||||
/**
|
||||
* Forces a re-deployment of a VM in UNKNOWN or BOOT states.
|
||||
* @return If an error occurs the error message contains the reason.
|
||||
*
|
||||
* @deprecated Replaced by {@link #boot}
|
||||
*/
|
||||
@Deprecated public OneResponse restart()
|
||||
{
|
||||
return action("restart");
|
||||
}
|
||||
|
||||
/**
|
||||
* Performs a live migration of the virtual machine to the
|
||||
* target host (hid).
|
||||
|
||||
Reference in new issue
Block a user