public class Pool extends XenAPIObject
Modifier and Type | Class and Description |
---|---|
static class |
Pool.Record
Represents all the fields in a Pool
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ref
The XenAPI reference to this object.
|
Modifier and Type | Method and Description |
---|---|
void |
addTags(Connection c,
java.lang.String value)
Add the given value to the tags field of the given pool.
|
void |
addToGuiConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the gui_config field of the given pool.
|
void |
addToOtherConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the other_config field of the given pool.
|
static void |
certificateInstall(Connection c,
java.lang.String name,
java.lang.String cert)
Install an SSL certificate pool-wide.
|
static Task |
certificateInstallAsync(Connection c,
java.lang.String name,
java.lang.String cert)
Install an SSL certificate pool-wide.
|
static java.util.Set<java.lang.String> |
certificateList(Connection c)
List all installed SSL certificates.
|
static Task |
certificateListAsync(Connection c)
List all installed SSL certificates.
|
static void |
certificateSync(Connection c)
Sync SSL certificates from master to slaves.
|
static Task |
certificateSyncAsync(Connection c)
Sync SSL certificates from master to slaves.
|
static void |
certificateUninstall(Connection c,
java.lang.String name)
Remove an SSL certificate.
|
static Task |
certificateUninstallAsync(Connection c,
java.lang.String name)
Remove an SSL certificate.
|
Blob |
createNewBlob(Connection c,
java.lang.String name,
java.lang.String mimeType)
Create a placeholder for a named binary blob of data that is associated with this pool
|
Task |
createNewBlobAsync(Connection c,
java.lang.String name,
java.lang.String mimeType)
Create a placeholder for a named binary blob of data that is associated with this pool
|
static java.util.Set<PIF> |
createVLAN(Connection c,
java.lang.String device,
Network network,
java.lang.Long VLAN)
Create PIFs, mapping a network to the same physical interface/VLAN on each host.
|
static Task |
createVLANAsync(Connection c,
java.lang.String device,
Network network,
java.lang.Long VLAN)
Create PIFs, mapping a network to the same physical interface/VLAN on each host.
|
static java.util.Set<PIF> |
createVLANFromPIF(Connection c,
PIF pif,
Network network,
java.lang.Long VLAN)
Create a pool-wide VLAN by taking the PIF.
|
static Task |
createVLANFromPIFAsync(Connection c,
PIF pif,
Network network,
java.lang.Long VLAN)
Create a pool-wide VLAN by taking the PIF.
|
static void |
crlInstall(Connection c,
java.lang.String name,
java.lang.String cert)
Install an SSL certificate revocation list, pool-wide.
|
static Task |
crlInstallAsync(Connection c,
java.lang.String name,
java.lang.String cert)
Install an SSL certificate revocation list, pool-wide.
|
static java.util.Set<java.lang.String> |
crlList(Connection c)
List all installed SSL certificate revocation lists.
|
static Task |
crlListAsync(Connection c)
List all installed SSL certificate revocation lists.
|
static void |
crlUninstall(Connection c,
java.lang.String name)
Remove an SSL certificate revocation list.
|
static Task |
crlUninstallAsync(Connection c,
java.lang.String name)
Remove an SSL certificate revocation list.
|
static void |
deconfigureWlb(Connection c)
Permanently deconfigures workload balancing monitoring on this pool
|
static Task |
deconfigureWlbAsync(Connection c)
Permanently deconfigures workload balancing monitoring on this pool
|
static void |
designateNewMaster(Connection c,
Host host)
Perform an orderly handover of the role of master to the referenced host.
|
static Task |
designateNewMasterAsync(Connection c,
Host host)
Perform an orderly handover of the role of master to the referenced host.
|
void |
detectNonhomogeneousExternalAuth(Connection c)
This call asynchronously detects if the external authentication configuration in any slave is different from that in the master and raises appropriate alerts
|
void |
disableExternalAuth(Connection c,
java.util.Map<java.lang.String,java.lang.String> config)
This call disables external authentication on all the hosts of the pool
|
static void |
disableHa(Connection c)
Turn off High Availability mode
|
static Task |
disableHaAsync(Connection c)
Turn off High Availability mode
|
void |
disableLocalStorageCaching(Connection c)
This call disables pool-wide local storage caching
|
Task |
disableLocalStorageCachingAsync(Connection c)
This call disables pool-wide local storage caching
|
static void |
disableRedoLog(Connection c)
Disable the redo log if in use, unless HA is enabled.
|
static Task |
disableRedoLogAsync(Connection c)
Disable the redo log if in use, unless HA is enabled.
|
static void |
eject(Connection c,
Host host)
Instruct a pool master to eject a host from the pool
|
static Task |
ejectAsync(Connection c,
Host host)
Instruct a pool master to eject a host from the pool
|
static void |
emergencyResetMaster(Connection c,
java.lang.String masterAddress)
Instruct a slave already in a pool that the master has changed
|
static void |
emergencyTransitionToMaster(Connection c)
Instruct host that's currently a slave to transition to being master
|
void |
enableExternalAuth(Connection c,
java.util.Map<java.lang.String,java.lang.String> config,
java.lang.String serviceName,
java.lang.String authType)
This call enables external authentication on all the hosts of the pool
|
static void |
enableHa(Connection c,
java.util.Set<SR> heartbeatSrs,
java.util.Map<java.lang.String,java.lang.String> configuration)
Turn on High Availability mode
|
static Task |
enableHaAsync(Connection c,
java.util.Set<SR> heartbeatSrs,
java.util.Map<java.lang.String,java.lang.String> configuration)
Turn on High Availability mode
|
void |
enableLocalStorageCaching(Connection c)
This call attempts to enable pool-wide local storage caching
|
Task |
enableLocalStorageCachingAsync(Connection c)
This call attempts to enable pool-wide local storage caching
|
static void |
enableRedoLog(Connection c,
SR sr)
Enable the redo log on the given SR and start using it, unless HA is enabled.
|
static Task |
enableRedoLogAsync(Connection c,
SR sr)
Enable the redo log on the given SR and start using it, unless HA is enabled.
|
boolean |
equals(java.lang.Object obj)
If obj is a Pool, compares XenAPI references for equality.
|
static java.util.Set<Pool> |
getAll(Connection c)
Return a list of all the pools known to the system.
|
static java.util.Map<Pool,Pool.Record> |
getAllRecords(Connection c)
Return a map of pool references to pool records for all pools known to the system.
|
java.util.Map<java.lang.String,Blob> |
getBlobs(Connection c)
Get the blobs field of the given pool.
|
static Pool |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the pool instance with the specified UUID.
|
SR |
getCrashDumpSR(Connection c)
Get the crash_dump_SR field of the given pool.
|
SR |
getDefaultSR(Connection c)
Get the default_SR field of the given pool.
|
java.util.Map<java.lang.String,java.lang.String> |
getGuiConfig(Connection c)
Get the gui_config field of the given pool.
|
java.lang.Boolean |
getHaAllowOvercommit(Connection c)
Get the ha_allow_overcommit field of the given pool.
|
java.util.Map<java.lang.String,java.lang.String> |
getHaConfiguration(Connection c)
Get the ha_configuration field of the given pool.
|
java.lang.Boolean |
getHaEnabled(Connection c)
Get the ha_enabled field of the given pool.
|
java.lang.Long |
getHaHostFailuresToTolerate(Connection c)
Get the ha_host_failures_to_tolerate field of the given pool.
|
java.lang.Boolean |
getHaOvercommitted(Connection c)
Get the ha_overcommitted field of the given pool.
|
java.lang.Long |
getHaPlanExistsFor(Connection c)
Get the ha_plan_exists_for field of the given pool.
|
java.util.Set<java.lang.String> |
getHaStatefiles(Connection c)
Get the ha_statefiles field of the given pool.
|
Host |
getMaster(Connection c)
Get the master field of the given pool.
|
java.lang.String |
getNameDescription(Connection c)
Get the name_description field of the given pool.
|
java.lang.String |
getNameLabel(Connection c)
Get the name_label field of the given pool.
|
java.util.Map<java.lang.String,java.lang.String> |
getOtherConfig(Connection c)
Get the other_config field of the given pool.
|
Pool.Record |
getRecord(Connection c)
Get a record containing the current state of the given pool.
|
java.lang.Boolean |
getRedoLogEnabled(Connection c)
Get the redo_log_enabled field of the given pool.
|
VDI |
getRedoLogVdi(Connection c)
Get the redo_log_vdi field of the given pool.
|
java.util.Map<java.lang.String,java.lang.String> |
getRestrictions(Connection c)
Get the restrictions field of the given pool.
|
SR |
getSuspendImageSR(Connection c)
Get the suspend_image_SR field of the given pool.
|
java.util.Set<java.lang.String> |
getTags(Connection c)
Get the tags field of the given pool.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given pool.
|
java.lang.String |
getVswitchController(Connection c)
Get the vswitch_controller field of the given pool.
|
java.lang.Boolean |
getWlbEnabled(Connection c)
Get the wlb_enabled field of the given pool.
|
java.lang.String |
getWlbUrl(Connection c)
Get the wlb_url field of the given pool.
|
java.lang.String |
getWlbUsername(Connection c)
Get the wlb_username field of the given pool.
|
java.lang.Boolean |
getWlbVerifyCert(Connection c)
Get the wlb_verify_cert field of the given pool.
|
static java.lang.Long |
haComputeHypotheticalMaxHostFailuresToTolerate(Connection c,
java.util.Map<VM,java.lang.String> configuration)
Returns the maximum number of host failures we could tolerate before we would be unable to restart the provided VMs
|
static java.lang.Long |
haComputeMaxHostFailuresToTolerate(Connection c)
Returns the maximum number of host failures we could tolerate before we would be unable to restart configured VMs
|
static java.util.Map<VM,java.util.Map<java.lang.String,java.lang.String>> |
haComputeVmFailoverPlan(Connection c,
java.util.Set<Host> failedHosts,
java.util.Set<VM> failedVms)
Return a VM failover plan assuming a given subset of hosts fail
|
static java.lang.Boolean |
haFailoverPlanExists(Connection c,
java.lang.Long n)
Returns true if a VM failover plan exists for up to 'n' host failures
|
static void |
haPreventRestartsFor(Connection c,
java.lang.Long seconds)
When this call returns the VM restart logic will not run for the requested number of seconds.
|
int |
hashCode() |
static void |
initializeWlb(Connection c,
java.lang.String wlbUrl,
java.lang.String wlbUsername,
java.lang.String wlbPassword,
java.lang.String xenserverUsername,
java.lang.String xenserverPassword)
Initializes workload balancing monitoring on this pool with the specified wlb server
|
static Task |
initializeWlbAsync(Connection c,
java.lang.String wlbUrl,
java.lang.String wlbUsername,
java.lang.String wlbPassword,
java.lang.String xenserverUsername,
java.lang.String xenserverPassword)
Initializes workload balancing monitoring on this pool with the specified wlb server
|
static void |
join(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
|
static Task |
joinAsync(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
|
static void |
joinForce(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
|
static Task |
joinForceAsync(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
|
static java.util.Set<Host> |
recoverSlaves(Connection c)
Instruct a pool master, M, to try and contact its slaves and, if slaves are in emergency mode, reset their master address to M.
|
static Task |
recoverSlavesAsync(Connection c)
Instruct a pool master, M, to try and contact its slaves and, if slaves are in emergency mode, reset their master address to M.
|
void |
removeFromGuiConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the gui_config field of the given pool.
|
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given pool.
|
void |
removeTags(Connection c,
java.lang.String value)
Remove the given value from the tags field of the given pool.
|
static java.util.Map<java.lang.String,java.lang.String> |
retrieveWlbConfiguration(Connection c)
Retrieves the pool optimization criteria from the workload balancing server
|
static Task |
retrieveWlbConfigurationAsync(Connection c)
Retrieves the pool optimization criteria from the workload balancing server
|
static java.util.Map<VM,java.util.Set<java.lang.String>> |
retrieveWlbRecommendations(Connection c)
Retrieves vm migrate recommendations for the pool from the workload balancing server
|
static Task |
retrieveWlbRecommendationsAsync(Connection c)
Retrieves vm migrate recommendations for the pool from the workload balancing server
|
static java.lang.String |
sendTestPost(Connection c,
java.lang.String host,
java.lang.Long port,
java.lang.String body)
Send the given body to the given host and port, using HTTPS, and print the response.
|
static Task |
sendTestPostAsync(Connection c,
java.lang.String host,
java.lang.Long port,
java.lang.String body)
Send the given body to the given host and port, using HTTPS, and print the response.
|
static void |
sendWlbConfiguration(Connection c,
java.util.Map<java.lang.String,java.lang.String> config)
Sets the pool optimization criteria for the workload balancing server
|
static Task |
sendWlbConfigurationAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> config)
Sets the pool optimization criteria for the workload balancing server
|
void |
setCrashDumpSR(Connection c,
SR crashDumpSR)
Set the crash_dump_SR field of the given pool.
|
void |
setDefaultSR(Connection c,
SR defaultSR)
Set the default_SR field of the given pool.
|
void |
setGuiConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> guiConfig)
Set the gui_config field of the given pool.
|
void |
setHaAllowOvercommit(Connection c,
java.lang.Boolean haAllowOvercommit)
Set the ha_allow_overcommit field of the given pool.
|
void |
setHaHostFailuresToTolerate(Connection c,
java.lang.Long value)
Set the maximum number of host failures to consider in the HA VM restart planner
|
Task |
setHaHostFailuresToTolerateAsync(Connection c,
java.lang.Long value)
Set the maximum number of host failures to consider in the HA VM restart planner
|
void |
setNameDescription(Connection c,
java.lang.String nameDescription)
Set the name_description field of the given pool.
|
void |
setNameLabel(Connection c,
java.lang.String nameLabel)
Set the name_label field of the given pool.
|
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given pool.
|
void |
setSuspendImageSR(Connection c,
SR suspendImageSR)
Set the suspend_image_SR field of the given pool.
|
void |
setTags(Connection c,
java.util.Set<java.lang.String> tags)
Set the tags field of the given pool.
|
static void |
setVswitchController(Connection c,
java.lang.String address)
Set the IP address of the vswitch controller.
|
static Task |
setVswitchControllerAsync(Connection c,
java.lang.String address)
Set the IP address of the vswitch controller.
|
void |
setWlbEnabled(Connection c,
java.lang.Boolean wlbEnabled)
Set the wlb_enabled field of the given pool.
|
void |
setWlbVerifyCert(Connection c,
java.lang.Boolean wlbVerifyCert)
Set the wlb_verify_cert field of the given pool.
|
static void |
syncDatabase(Connection c)
Forcibly synchronise the database now
|
static Task |
syncDatabaseAsync(Connection c)
Forcibly synchronise the database now
|
java.lang.String |
testArchiveTarget(Connection c,
java.util.Map<java.lang.String,java.lang.String> config)
This call tests if a location is valid
|
java.lang.String |
toWireString() |
public java.lang.String toWireString()
toWireString
in class XenAPIObject
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Pool.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Pool getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid
- UUID of object to returnTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Host getMaster(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public SR getDefaultSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public SR getSuspendImageSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public SR getCrashDumpSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getHaEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getHaConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getHaStatefiles(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getHaHostFailuresToTolerate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getHaPlanExistsFor(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getHaAllowOvercommit(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getHaOvercommitted(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,Blob> getBlobs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getTags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getGuiConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getWlbUrl(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getWlbUsername(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getWlbEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getWlbVerifyCert(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getRedoLogEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public VDI getRedoLogVdi(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getVswitchController(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getRestrictions(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setNameLabel(Connection c, java.lang.String nameLabel) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
nameLabel
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setNameDescription(Connection c, java.lang.String nameDescription) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
nameDescription
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setDefaultSR(Connection c, SR defaultSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
defaultSR
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setSuspendImageSR(Connection c, SR suspendImageSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
suspendImageSR
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setCrashDumpSR(Connection c, SR crashDumpSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
crashDumpSR
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to addTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to removeTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setHaAllowOvercommit(Connection c, java.lang.Boolean haAllowOvercommit) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
haAllowOvercommit
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setTags(Connection c, java.util.Set<java.lang.String> tags) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
tags
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- New value to addTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- Value to removeTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setGuiConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> guiConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
guiConfig
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToGuiConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to addTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromGuiConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to removeTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setWlbEnabled(Connection c, java.lang.Boolean wlbEnabled) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
wlbEnabled
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setWlbVerifyCert(Connection c, java.lang.Boolean wlbVerifyCert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
wlbVerifyCert
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task joinAsync(Connection c, java.lang.String masterAddress, java.lang.String masterUsername, java.lang.String masterPassword) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.JoiningHostCannotContainSharedSrs
masterAddress
- The hostname of the master of the pool to joinmasterUsername
- The username of the master (for initial authentication)masterPassword
- The password for the master (for initial authentication)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.JoiningHostCannotContainSharedSrs
public static void join(Connection c, java.lang.String masterAddress, java.lang.String masterUsername, java.lang.String masterPassword) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.JoiningHostCannotContainSharedSrs
masterAddress
- The hostname of the master of the pool to joinmasterUsername
- The username of the master (for initial authentication)masterPassword
- The password for the master (for initial authentication)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.JoiningHostCannotContainSharedSrs
public static Task joinForceAsync(Connection c, java.lang.String masterAddress, java.lang.String masterUsername, java.lang.String masterPassword) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
masterAddress
- The hostname of the master of the pool to joinmasterUsername
- The username of the master (for initial authentication)masterPassword
- The password for the master (for initial authentication)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void joinForce(Connection c, java.lang.String masterAddress, java.lang.String masterUsername, java.lang.String masterPassword) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
masterAddress
- The hostname of the master of the pool to joinmasterUsername
- The username of the master (for initial authentication)masterPassword
- The password for the master (for initial authentication)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task ejectAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host to ejectTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void eject(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host to ejectTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void emergencyTransitionToMaster(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void emergencyResetMaster(Connection c, java.lang.String masterAddress) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
masterAddress
- The hostname of the masterTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task recoverSlavesAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<Host> recoverSlaves(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task createVLANAsync(Connection c, java.lang.String device, Network network, java.lang.Long VLAN) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VlanTagInvalid
device
- physical interface on which to create the VLAN interfacenetwork
- network to which this interface should be connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.VlanTagInvalid
public static java.util.Set<PIF> createVLAN(Connection c, java.lang.String device, Network network, java.lang.Long VLAN) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VlanTagInvalid
device
- physical interface on which to create the VLAN interfacenetwork
- network to which this interface should be connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.VlanTagInvalid
public static Task createVLANFromPIFAsync(Connection c, PIF pif, Network network, java.lang.Long VLAN) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VlanTagInvalid
pif
- physical interface on any particular host, that identifies the PIF on which to create the (pool-wide) VLAN interfacenetwork
- network to which this interface should be connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.VlanTagInvalid
public static java.util.Set<PIF> createVLANFromPIF(Connection c, PIF pif, Network network, java.lang.Long VLAN) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VlanTagInvalid
pif
- physical interface on any particular host, that identifies the PIF on which to create the (pool-wide) VLAN interfacenetwork
- network to which this interface should be connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.VlanTagInvalid
public static Task enableHaAsync(Connection c, java.util.Set<SR> heartbeatSrs, java.util.Map<java.lang.String,java.lang.String> configuration) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
heartbeatSrs
- Set of SRs to use for storage heartbeating.configuration
- Detailed HA configuration to applyTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void enableHa(Connection c, java.util.Set<SR> heartbeatSrs, java.util.Map<java.lang.String,java.lang.String> configuration) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
heartbeatSrs
- Set of SRs to use for storage heartbeating.configuration
- Detailed HA configuration to applyTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task disableHaAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void disableHa(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task syncDatabaseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void syncDatabase(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task designateNewMasterAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host who should become the new masterTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void designateNewMaster(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host who should become the new masterTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void haPreventRestartsFor(Connection c, java.lang.Long seconds) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
seconds
- The number of seconds to block the restart thread forTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.lang.Boolean haFailoverPlanExists(Connection c, java.lang.Long n) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
n
- The number of host failures to plan forTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.lang.Long haComputeMaxHostFailuresToTolerate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.lang.Long haComputeHypotheticalMaxHostFailuresToTolerate(Connection c, java.util.Map<VM,java.lang.String> configuration) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
configuration
- Map of protected VM reference to restart priorityTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<VM,java.util.Map<java.lang.String,java.lang.String>> haComputeVmFailoverPlan(Connection c, java.util.Set<Host> failedHosts, java.util.Set<VM> failedVms) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
failedHosts
- The set of hosts to assume have failedfailedVms
- The set of VMs to restartTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task setHaHostFailuresToTolerateAsync(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- New number of host failures to considerTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setHaHostFailuresToTolerate(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- New number of host failures to considerTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task createNewBlobAsync(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Blob createNewBlob(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void enableExternalAuth(Connection c, java.util.Map<java.lang.String,java.lang.String> config, java.lang.String serviceName, java.lang.String authType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config
- A list of key-values containing the configuration dataserviceName
- The name of the serviceauthType
- The type of authentication (e.g. AD for Active Directory)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void disableExternalAuth(Connection c, java.util.Map<java.lang.String,java.lang.String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config
- Optional parameters as a list of key-values containing the configuration dataTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void detectNonhomogeneousExternalAuth(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task initializeWlbAsync(Connection c, java.lang.String wlbUrl, java.lang.String wlbUsername, java.lang.String wlbPassword, java.lang.String xenserverUsername, java.lang.String xenserverPassword) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
wlbUrl
- The ip address and port to use when accessing the wlb serverwlbUsername
- The username used to authenticate with the wlb serverwlbPassword
- The password used to authenticate with the wlb serverxenserverUsername
- The usernamed used by the wlb server to authenticate with the xenserverxenserverPassword
- The password used by the wlb server to authenticate with the xenserverTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void initializeWlb(Connection c, java.lang.String wlbUrl, java.lang.String wlbUsername, java.lang.String wlbPassword, java.lang.String xenserverUsername, java.lang.String xenserverPassword) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
wlbUrl
- The ip address and port to use when accessing the wlb serverwlbUsername
- The username used to authenticate with the wlb serverwlbPassword
- The password used to authenticate with the wlb serverxenserverUsername
- The usernamed used by the wlb server to authenticate with the xenserverxenserverPassword
- The password used by the wlb server to authenticate with the xenserverTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task deconfigureWlbAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void deconfigureWlb(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task sendWlbConfigurationAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config
- The configuration to use in optimizing this poolTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void sendWlbConfiguration(Connection c, java.util.Map<java.lang.String,java.lang.String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config
- The configuration to use in optimizing this poolTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task retrieveWlbConfigurationAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<java.lang.String,java.lang.String> retrieveWlbConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task retrieveWlbRecommendationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<VM,java.util.Set<java.lang.String>> retrieveWlbRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task sendTestPostAsync(Connection c, java.lang.String host, java.lang.Long port, java.lang.String body) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- port
- body
- Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.lang.String sendTestPost(Connection c, java.lang.String host, java.lang.Long port, java.lang.String body) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- port
- body
- Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task certificateInstallAsync(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- A name to give the certificatecert
- The certificateTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void certificateInstall(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- A name to give the certificatecert
- The certificateTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task certificateUninstallAsync(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The certificate nameTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void certificateUninstall(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The certificate nameTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task certificateListAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<java.lang.String> certificateList(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task crlInstallAsync(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- A name to give the CRLcert
- The CRLTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void crlInstall(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- A name to give the CRLcert
- The CRLTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task crlUninstallAsync(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The CRL nameTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void crlUninstall(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The CRL nameTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task crlListAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<java.lang.String> crlList(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task certificateSyncAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void certificateSync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task enableRedoLogAsync(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
sr
- SR to hold the redo log.Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void enableRedoLog(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
sr
- SR to hold the redo log.Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task disableRedoLogAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void disableRedoLog(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task setVswitchControllerAsync(Connection c, java.lang.String address) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
address
- IP address of the vswitch controller.Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void setVswitchController(Connection c, java.lang.String address) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
address
- IP address of the vswitch controller.Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String testArchiveTarget(Connection c, java.util.Map<java.lang.String,java.lang.String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config
- Location config settings to testTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task enableLocalStorageCachingAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void enableLocalStorageCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task disableLocalStorageCachingAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void disableLocalStorageCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<Pool> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<Pool,Pool.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException