mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-18 19:02:53 +09:00
feature #1243: Add resched flag to VMs. Includes associated logic to make it work: RM methods, OCA bindings, CLI commands. LCM updated to clear the resched flag when leaving the running state Fixes VM tests
This commit is contained in:
1 parent
d364c3e57f
commit
8ff221052d
16 files changed
+255
-37
No files matched your search
@@ -233,6 +233,14 @@ void VirtualMachineAction::request_execute(xmlrpc_c::paramList const& paramList,
|
||||
{
|
||||
rc = dm->reboot(id);
|
||||
}
|
||||
else if (action == "resched")
|
||||
{
|
||||
rc = dm->resched(id, true);
|
||||
}
|
||||
else if (action == "unresched")
|
||||
{
|
||||
rc = dm->resched(id, false);
|
||||
}
|
||||
|
||||
switch (rc)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user