mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
feature #1055: OCA methods for reset operations
This commit is contained in:
1 parent
e1a3c5c7db
commit
84813377a4
2 files changed
+15
-1
No files matched your search
@@ -417,6 +417,15 @@ public class VirtualMachine extends PoolElement{
|
||||
return action("reboot");
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets a running VM.
|
||||
* @return If an error occurs the error message contains the reason.
|
||||
*/
|
||||
public OneResponse reset()
|
||||
{
|
||||
return action("reset");
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancels the running VM.
|
||||
* @return If an error occurs the error message contains the reason.
|
||||
|
||||
Reference in new issue
Block a user