public class OneSystem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Client |
client |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
boolean |
compatibleVersion()
Returns whether of not the oned version is the same as the OCA version
|
OneResponse |
getConfiguration()
Calls OpenNebula and retrieves oned configuration
|
org.w3c.dom.Node |
getConfigurationXML()
Calls OpenNebula and retrieves oned configuration
|
OneResponse |
getGroupQuotas()
Gets the default group quota limits
|
org.w3c.dom.Node |
getGroupQuotasXML()
Gets the default group quota limits
|
OneResponse |
getOnedVersion()
Calls OpenNebula and retrieves the oned version
|
OneResponse |
getUserQuotas()
Gets the default user quota limits
|
org.w3c.dom.Node |
getUserQuotasXML()
Gets the default user quota limits
|
OneResponse |
setGroupQuotas(java.lang.String quota)
Sets the default group quota limits
|
OneResponse |
setUserQuotas(java.lang.String quota)
Sets the default user quota limits
|
protected Client client
public static final java.lang.String VERSION
public OneSystem(Client client)
public OneResponse getOnedVersion()
public boolean compatibleVersion()
public OneResponse getConfiguration()
public org.w3c.dom.Node getConfigurationXML()
public OneResponse getUserQuotas()
public org.w3c.dom.Node getUserQuotasXML()
public OneResponse setUserQuotas(java.lang.String quota)
quota
- a template (XML or txt) with the new quota limitspublic OneResponse getGroupQuotas()
public org.w3c.dom.Node getGroupQuotasXML()
public OneResponse setGroupQuotas(java.lang.String quota)
quota
- a template (XML or txt) with the new quota limitsVisit OpenNebula.org
Copyright 2002-2013 ©
OpenNebula Project (OpenNebula.org), C12G Labs.