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:
parent
f487277f03
commit
a098766714
@ -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
|
||||
//--------------------------------------------------------------------------
|
||||
|
@ -171,5 +171,9 @@ module OpenNebula
|
||||
def get_version()
|
||||
call("system.version")
|
||||
end
|
||||
|
||||
def get_config()
|
||||
call("system.config")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user