mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-18 02:42:54 +09:00
Feature #1544: Add get_config method to ruby & java oca
This commit is contained in:
1 parent
f487277f03
commit
a098766714
2 files changed
+14
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user