Package org.opennebula.client
Class OneSystem
java.lang.Object
org.opennebula.client.OneSystem
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether of not the oned version is the same as the OCA versionCalls OpenNebula and retrieves oned configurationCalls OpenNebula and retrieves oned configurationGets the default group quota limitsGets the default group quota limitsCalls OpenNebula and retrieves the oned versionGets the default user quota limitsGets the default user quota limitssetGroupQuotas
(String quota) Sets the default group quota limitssetUserQuotas
(String quota) Sets the default user quota limits
-
Field Details
-
client
-
VERSION
- See Also:
-
-
Constructor Details
-
OneSystem
-
-
Method Details
-
getOnedVersion
Calls OpenNebula and retrieves the oned version- Returns:
- The server's xml-rpc response encapsulated
-
compatibleVersion
public boolean compatibleVersion()Returns whether of not the oned version is the same as the OCA version- Returns:
- true if oned is the same version
-
getConfiguration
Calls OpenNebula and retrieves oned configuration- Returns:
- The server's xml-rpc response encapsulated
-
getConfigurationXML
Calls OpenNebula and retrieves oned configuration- Returns:
- The xml root node in case of success, null otherwise
-
getUserQuotas
Gets the default user quota limits- Returns:
- the default user quota in case of success, Error otherwise
-
getUserQuotasXML
Gets the default user quota limits- Returns:
- The xml root node in case of success, null otherwise
-
setUserQuotas
Sets the default user quota limits- Parameters:
quota
- a template (XML or txt) with the new quota limits- Returns:
- If an error occurs the error message contains the reason.
-
getGroupQuotas
Gets the default group quota limits- Returns:
- the default group quota in case of success, Error otherwise
-
getGroupQuotasXML
Gets the default group quota limits- Returns:
- The xml root node in case of success, null otherwise
-
setGroupQuotas
Sets the default group quota limits- Parameters:
quota
- a template (XML or txt) with the new quota limits- Returns:
- If an error occurs the error message contains the reason.
-