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 String |
ref
The XenAPI reference to this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTags(Connection c,
String value)
Add the given value to the tags field of the given pool.
|
void |
addToGuiConfig(Connection c,
String key,
String value)
Add the given key-value pair to the gui_config field of the given pool.
|
void |
addToOtherConfig(Connection c,
String key,
String value)
Add the given key-value pair to the other_config field of the given pool.
|
static void |
certificateInstall(Connection c,
String name,
String cert)
Install an SSL certificate pool-wide.
|
static Task |
certificateInstallAsync(Connection c,
String name,
String cert)
Install an SSL certificate pool-wide.
|
static Set<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,
String name)
Remove an SSL certificate.
|
static Task |
certificateUninstallAsync(Connection c,
String name)
Remove an SSL certificate.
|
Blob |
createNewBlob(Connection c,
String name,
String mimeType)
Create a placeholder for a named binary blob of data that is associated with this pool
|
Task |
createNewBlobAsync(Connection c,
String name,
String mimeType)
Create a placeholder for a named binary blob of data that is associated with this pool
|
static Set<PIF> |
createVLAN(Connection c,
String device,
Network network,
Long VLAN)
Create PIFs, mapping a network to the same physical interface/VLAN on each host.
|
static Task |
createVLANAsync(Connection c,
String device,
Network network,
Long VLAN)
Create PIFs, mapping a network to the same physical interface/VLAN on each host.
|
static Set<PIF> |
createVLANFromPIF(Connection c,
PIF pif,
Network network,
Long VLAN)
Create a pool-wide VLAN by taking the PIF.
|
static Task |
createVLANFromPIFAsync(Connection c,
PIF pif,
Network network,
Long VLAN)
Create a pool-wide VLAN by taking the PIF.
|
static void |
crlInstall(Connection c,
String name,
String cert)
Install an SSL certificate revocation list, pool-wide.
|
static Task |
crlInstallAsync(Connection c,
String name,
String cert)
Install an SSL certificate revocation list, pool-wide.
|
static Set<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,
String name)
Remove an SSL certificate revocation list.
|
static Task |
crlUninstallAsync(Connection c,
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,
Map<String,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,
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,
Map<String,String> config,
String serviceName,
String authType)
This call enables external authentication on all the hosts of the pool
|
static void |
enableHa(Connection c,
Set<SR> heartbeatSrs,
Map<String,String> configuration)
Turn on High Availability mode
|
static Task |
enableHaAsync(Connection c,
Set<SR> heartbeatSrs,
Map<String,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(Object obj)
If obj is a Pool, compares XenAPI references for equality.
|
static Set<Pool> |
getAll(Connection c)
Return a list of all the pools known to the system.
|
static Map<Pool,Pool.Record> |
getAllRecords(Connection c)
Return a map of pool references to pool records for all pools known to the system.
|
Map<String,Blob> |
getBlobs(Connection c)
Get the blobs field of the given pool.
|
static Pool |
getByUuid(Connection c,
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.
|
Map<String,String> |
getGuiConfig(Connection c)
Get the gui_config field of the given pool.
|
Boolean |
getHaAllowOvercommit(Connection c)
Get the ha_allow_overcommit field of the given pool.
|
Map<String,String> |
getHaConfiguration(Connection c)
Get the ha_configuration field of the given pool.
|
Boolean |
getHaEnabled(Connection c)
Get the ha_enabled field of the given pool.
|
Long |
getHaHostFailuresToTolerate(Connection c)
Get the ha_host_failures_to_tolerate field of the given pool.
|
Boolean |
getHaOvercommitted(Connection c)
Get the ha_overcommitted field of the given pool.
|
Long |
getHaPlanExistsFor(Connection c)
Get the ha_plan_exists_for field of the given pool.
|
Set<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.
|
String |
getNameDescription(Connection c)
Get the name_description field of the given pool.
|
String |
getNameLabel(Connection c)
Get the name_label field of the given pool.
|
Map<String,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.
|
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.
|
Map<String,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.
|
Set<String> |
getTags(Connection c)
Get the tags field of the given pool.
|
String |
getUuid(Connection c)
Get the uuid field of the given pool.
|
String |
getVswitchController(Connection c)
Get the vswitch_controller field of the given pool.
|
Boolean |
getWlbEnabled(Connection c)
Get the wlb_enabled field of the given pool.
|
String |
getWlbUrl(Connection c)
Get the wlb_url field of the given pool.
|
String |
getWlbUsername(Connection c)
Get the wlb_username field of the given pool.
|
Boolean |
getWlbVerifyCert(Connection c)
Get the wlb_verify_cert field of the given pool.
|
static Long |
haComputeHypotheticalMaxHostFailuresToTolerate(Connection c,
Map<VM,String> configuration)
Returns the maximum number of host failures we could tolerate before we would be unable to restart the provided VMs
|
static Long |
haComputeMaxHostFailuresToTolerate(Connection c)
Returns the maximum number of host failures we could tolerate before we would be unable to restart configured VMs
|
static Map<VM,Map<String,String>> |
haComputeVmFailoverPlan(Connection c,
Set<Host> failedHosts,
Set<VM> failedVms)
Return a VM failover plan assuming a given subset of hosts fail
|
static Boolean |
haFailoverPlanExists(Connection c,
Long n)
Returns true if a VM failover plan exists for up to 'n' host failures
|
static void |
haPreventRestartsFor(Connection c,
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,
String wlbUrl,
String wlbUsername,
String wlbPassword,
String xenserverUsername,
String xenserverPassword)
Initializes workload balancing monitoring on this pool with the specified wlb server
|
static Task |
initializeWlbAsync(Connection c,
String wlbUrl,
String wlbUsername,
String wlbPassword,
String xenserverUsername,
String xenserverPassword)
Initializes workload balancing monitoring on this pool with the specified wlb server
|
static void |
join(Connection c,
String masterAddress,
String masterUsername,
String masterPassword)
Instruct host to join a new pool
|
static Task |
joinAsync(Connection c,
String masterAddress,
String masterUsername,
String masterPassword)
Instruct host to join a new pool
|
static void |
joinForce(Connection c,
String masterAddress,
String masterUsername,
String masterPassword)
Instruct host to join a new pool
|
static Task |
joinForceAsync(Connection c,
String masterAddress,
String masterUsername,
String masterPassword)
Instruct host to join a new pool
|
static 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,
String key)
Remove the given key and its corresponding value from the gui_config field of the given pool.
|
void |
removeFromOtherConfig(Connection c,
String key)
Remove the given key and its corresponding value from the other_config field of the given pool.
|
void |
removeTags(Connection c,
String value)
Remove the given value from the tags field of the given pool.
|
static Map<String,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 Map<VM,Set<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 String |
sendTestPost(Connection c,
String host,
Long port,
String body)
Send the given body to the given host and port, using HTTPS, and print the response.
|
static Task |
sendTestPostAsync(Connection c,
String host,
Long port,
String body)
Send the given body to the given host and port, using HTTPS, and print the response.
|
static void |
sendWlbConfiguration(Connection c,
Map<String,String> config)
Sets the pool optimization criteria for the workload balancing server
|
static Task |
sendWlbConfigurationAsync(Connection c,
Map<String,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,
Map<String,String> guiConfig)
Set the gui_config field of the given pool.
|
void |
setHaAllowOvercommit(Connection c,
Boolean haAllowOvercommit)
Set the ha_allow_overcommit field of the given pool.
|
void |
setHaHostFailuresToTolerate(Connection c,
Long value)
Set the maximum number of host failures to consider in the HA VM restart planner
|
Task |
setHaHostFailuresToTolerateAsync(Connection c,
Long value)
Set the maximum number of host failures to consider in the HA VM restart planner
|
void |
setNameDescription(Connection c,
String nameDescription)
Set the name_description field of the given pool.
|
void |
setNameLabel(Connection c,
String nameLabel)
Set the name_label field of the given pool.
|
void |
setOtherConfig(Connection c,
Map<String,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,
Set<String> tags)
Set the tags field of the given pool.
|
static void |
setVswitchController(Connection c,
String address)
Set the IP address of the vswitch controller.
|
static Task |
setVswitchControllerAsync(Connection c,
String address)
Set the IP address of the vswitch controller.
|
void |
setWlbEnabled(Connection c,
Boolean wlbEnabled)
Set the wlb_enabled field of the given pool.
|
void |
setWlbVerifyCert(Connection c,
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
|
String |
testArchiveTarget(Connection c,
Map<String,String> config)
This call tests if a location is valid
|
String |
toWireString() |
protected final String ref
public String toWireString()
toWireString in class XenAPIObjectpublic boolean equals(Object obj)
public Pool.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Pool getByUuid(Connection c, String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid - UUID of object to returnTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Host getMaster(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic SR getDefaultSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic SR getSuspendImageSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic SR getCrashDumpSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getHaEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getHaConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<String> getHaStatefiles(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getHaHostFailuresToTolerate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getHaPlanExistsFor(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getHaAllowOvercommit(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getHaOvercommitted(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,Blob> getBlobs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<String> getTags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getGuiConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getWlbUrl(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getWlbUsername(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getWlbEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getWlbVerifyCert(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getRedoLogEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VDI getRedoLogVdi(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getVswitchController(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getRestrictions(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setNameLabel(Connection c, String nameLabel) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
nameLabel - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setNameDescription(Connection c, String nameDescription) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
nameDescription - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setDefaultSR(Connection c, SR defaultSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
defaultSR - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setSuspendImageSR(Connection c, SR suspendImageSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
suspendImageSR - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setCrashDumpSR(Connection c, SR crashDumpSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
crashDumpSR - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setOtherConfig(Connection c, Map<String,String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToOtherConfig(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromOtherConfig(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setHaAllowOvercommit(Connection c, Boolean haAllowOvercommit) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
haAllowOvercommit - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setTags(Connection c, Set<String> tags) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
tags - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addTags(Connection c, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - New value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeTags(Connection c, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - Value to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setGuiConfig(Connection c, Map<String,String> guiConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
guiConfig - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToGuiConfig(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromGuiConfig(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setWlbEnabled(Connection c, Boolean wlbEnabled) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
wlbEnabled - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setWlbVerifyCert(Connection c, Boolean wlbVerifyCert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
wlbVerifyCert - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task joinAsync(Connection c, String masterAddress, String masterUsername, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.JoiningHostCannotContainSharedSrspublic static void join(Connection c, String masterAddress, String masterUsername, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.JoiningHostCannotContainSharedSrspublic static Task joinForceAsync(Connection c, String masterAddress, String masterUsername, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void joinForce(Connection c, String masterAddress, String masterUsername, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task ejectAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host - The host to ejectTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void eject(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host - The host to ejectTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void emergencyTransitionToMaster(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void emergencyResetMaster(Connection c, String masterAddress) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
masterAddress - The hostname of the masterTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task recoverSlavesAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Set<Host> recoverSlaves(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task createVLANAsync(Connection c, String device, Network network, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VlanTagInvalidpublic static Set<PIF> createVLAN(Connection c, String device, Network network, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VlanTagInvalidpublic static Task createVLANFromPIFAsync(Connection c, PIF pif, Network network, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VlanTagInvalidpublic static Set<PIF> createVLANFromPIF(Connection c, PIF pif, Network network, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VlanTagInvalidpublic static Task enableHaAsync(Connection c, Set<SR> heartbeatSrs, Map<String,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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void enableHa(Connection c, Set<SR> heartbeatSrs, Map<String,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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task disableHaAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void disableHa(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task syncDatabaseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void syncDatabase(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void haPreventRestartsFor(Connection c, Long seconds) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
seconds - The number of seconds to block the restart thread forTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Boolean haFailoverPlanExists(Connection c, Long n) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
n - The number of host failures to plan forTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Long haComputeMaxHostFailuresToTolerate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Long haComputeHypotheticalMaxHostFailuresToTolerate(Connection c, Map<VM,String> configuration) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
configuration - Map of protected VM reference to restart priorityTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Map<VM,Map<String,String>> haComputeVmFailoverPlan(Connection c, Set<Host> failedHosts, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setHaHostFailuresToTolerateAsync(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - New number of host failures to considerTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setHaHostFailuresToTolerate(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - New number of host failures to considerTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task createNewBlobAsync(Connection c, String name, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Blob createNewBlob(Connection c, String name, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void enableExternalAuth(Connection c, Map<String,String> config, String serviceName, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void disableExternalAuth(Connection c, Map<String,String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config - Optional parameters as a list of key-values containing the configuration dataTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void detectNonhomogeneousExternalAuth(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task initializeWlbAsync(Connection c, String wlbUrl, String wlbUsername, String wlbPassword, String xenserverUsername, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void initializeWlb(Connection c, String wlbUrl, String wlbUsername, String wlbPassword, String xenserverUsername, 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.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task deconfigureWlbAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void deconfigureWlb(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task sendWlbConfigurationAsync(Connection c, Map<String,String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config - The configuration to use in optimizing this poolTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void sendWlbConfiguration(Connection c, Map<String,String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config - The configuration to use in optimizing this poolTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task retrieveWlbConfigurationAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Map<String,String> retrieveWlbConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task retrieveWlbRecommendationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Map<VM,Set<String>> retrieveWlbRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task sendTestPostAsync(Connection c, String host, Long port, String body) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host - port - body - Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static String sendTestPost(Connection c, String host, Long port, String body) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host - port - body - Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task certificateInstallAsync(Connection c, String name, String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - A name to give the certificatecert - The certificateTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void certificateInstall(Connection c, String name, String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - A name to give the certificatecert - The certificateTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task certificateUninstallAsync(Connection c, String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - The certificate nameTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void certificateUninstall(Connection c, String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - The certificate nameTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task certificateListAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Set<String> certificateList(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task crlInstallAsync(Connection c, String name, String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - A name to give the CRLcert - The CRLTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void crlInstall(Connection c, String name, String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - A name to give the CRLcert - The CRLTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task crlUninstallAsync(Connection c, String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - The CRL nameTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void crlUninstall(Connection c, String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - The CRL nameTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task crlListAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Set<String> crlList(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task certificateSyncAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void certificateSync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task enableRedoLogAsync(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
sr - SR to hold the redo log.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void enableRedoLog(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
sr - SR to hold the redo log.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task disableRedoLogAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void disableRedoLog(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task setVswitchControllerAsync(Connection c, String address) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
address - IP address of the vswitch controller.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static void setVswitchController(Connection c, String address) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
address - IP address of the vswitch controller.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String testArchiveTarget(Connection c, Map<String,String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config - Location config settings to testTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task enableLocalStorageCachingAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void enableLocalStorageCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task disableLocalStorageCachingAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void disableLocalStorageCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Set<Pool> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Map<Pool,Pool.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException