|
OpenNebula Cloud API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennebula.client.OneSystem
public class OneSystem
Field Summary | |
---|---|
protected Client |
client
|
static java.lang.String |
VERSION
|
Constructor Summary | |
---|---|
OneSystem(Client client)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Client client
public static final java.lang.String VERSION
Constructor Detail |
---|
public OneSystem(Client client)
Method Detail |
---|
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 limits
public 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 limits
|
OpenNebula Cloud API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |