1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Feature #1544: Add get_config method to ruby & java oca

This commit is contained in:
Carlos Martín 2012-11-14 12:58:13 +01:00
parent f487277f03
commit a098766714
2 changed files with 14 additions and 0 deletions

View File

@ -129,6 +129,16 @@ public class Client{
return call("system.version");
}
/**
* Calls OpenNebula and retrieves oned configuration
*
* @return The server's xml-rpc response encapsulated
*/
public OneResponse get_config()
{
return call("system.config");
}
//--------------------------------------------------------------------------
// PRIVATE ATTRIBUTES AND METHODS
//--------------------------------------------------------------------------

View File

@ -171,5 +171,9 @@ module OpenNebula
def get_version()
call("system.version")
end
def get_config()
call("system.config")
end
end
end