mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-26 09:57:23 +03:00
feature #687: Scheduler uses the new filter function
This commit is contained in:
parent
5609e3e424
commit
ff7e79207f
@ -67,7 +67,7 @@ public:
|
||||
VirtualMachinePoolInfo():
|
||||
RequestManagerPoolInfoFilter("VirtualMachinePoolInfo",
|
||||
"Returns the virtual machine instances pool",
|
||||
"A:siii")
|
||||
"A:siiii")
|
||||
{
|
||||
Nebula& nd = Nebula::instance();
|
||||
pool = nd.get_vmpool();
|
||||
|
@ -64,13 +64,15 @@ int VirtualMachinePoolXML::load_info(xmlrpc_c::value &result)
|
||||
{
|
||||
try
|
||||
{
|
||||
client->call(client->get_endpoint(), // serverUrl
|
||||
"one.vmpool.info", // methodName
|
||||
"sii", // arguments format
|
||||
&result, // resultP
|
||||
client->get_oneauth().c_str(), // auth string
|
||||
-2, // VM from all users
|
||||
1); // in pending state
|
||||
client->call(client->get_endpoint(), // serverUrl
|
||||
"one.vmpool.info", // methodName
|
||||
"siiii", // arguments format
|
||||
&result, // resultP
|
||||
client->get_oneauth().c_str(), // auth string
|
||||
-2, // VM from all users
|
||||
-1, // start_id (none)
|
||||
-1, // end_id (none)
|
||||
1); // in pending state
|
||||
return 0;
|
||||
}
|
||||
catch (exception const& e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user