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:
Ruben S. Montero committed 2012-04-26 19:06:49 +02:00
1 parent d364c3e57f
commit 8ff221052d
16 files changed
+255 -37

No files matched your search

+8
View File
@@ -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)
{