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 (OpaqueRef) 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 |
addToGuestAgentConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add a key-value pair to the pool-wide guest agent configuration
First published in XenServer 7.0.
|
Task |
addToGuestAgentConfigAsync(Connection c,
java.lang.String key,
java.lang.String value)
Add a key-value pair to the pool-wide guest agent configuration
First published in XenServer 7.0.
|
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 |
addToHealthCheckConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the health_check_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.
|
void |
applyEdition(Connection c,
java.lang.String edition)
Apply an edition to all hosts in the pool
First published in XenServer 6.2.
|
Task |
applyEditionAsync(Connection c,
java.lang.String edition)
Apply an edition to all hosts in the pool
First published in XenServer 6.2.
|
static void |
certificateInstall(Connection c,
java.lang.String name,
java.lang.String cert)
Install a TLS CA certificate, pool-wide.
|
static Task |
certificateInstallAsync(Connection c,
java.lang.String name,
java.lang.String cert)
Install a TLS CA certificate, pool-wide.
|
static java.util.Set<java.lang.String> |
certificateList(Connection c)
List the names of all installed TLS CA certificates.
|
static Task |
certificateListAsync(Connection c)
List the names of all installed TLS CA certificates.
|
static void |
certificateSync(Connection c)
Copy the TLS CA certificates and CRLs of the master to all slaves.
|
static Task |
certificateSyncAsync(Connection c)
Copy the TLS CA certificates and CRLs of the master to all slaves.
|
static void |
certificateUninstall(Connection c,
java.lang.String name)
Remove a pool-wide TLS CA certificate.
|
static Task |
certificateUninstallAsync(Connection c,
java.lang.String name)
Remove a pool-wide TLS CA 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
First published in XenServer 5.0.
|
Blob |
createNewBlob(Connection c,
java.lang.String name,
java.lang.String mimeType,
java.lang.Boolean _public)
Create a placeholder for a named binary blob of data that is associated with this pool
First published in XenServer 5.0.
|
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
First published in XenServer 5.0.
|
Task |
createNewBlobAsync(Connection c,
java.lang.String name,
java.lang.String mimeType,
java.lang.Boolean _public)
Create a placeholder for a named binary blob of data that is associated with this pool
First published in XenServer 5.0.
|
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 a TLS Certificate Revocation List, pool-wide.
|
static Task |
crlInstallAsync(Connection c,
java.lang.String name,
java.lang.String cert)
Install a TLS Certificate Revocation List, pool-wide.
|
static java.util.Set<java.lang.String> |
crlList(Connection c)
List the names of all installed TLS Certificate Revocation Lists.
|
static Task |
crlListAsync(Connection c)
List the names of all installed TLS Certificate Revocation Lists.
|
static void |
crlUninstall(Connection c,
java.lang.String name)
Remove a pool-wide TLS Certificate Revocation List.
|
static Task |
crlUninstallAsync(Connection c,
java.lang.String name)
Remove a pool-wide TLS Certificate Revocation List.
|
static void |
deconfigureWlb(Connection c)
Permanently deconfigures workload balancing monitoring on this pool
First published in XenServer 5.5.
|
static Task |
deconfigureWlbAsync(Connection c)
Permanently deconfigures workload balancing monitoring on this pool
First published in XenServer 5.5.
|
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
First published in XenServer 5.5.
|
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
First published in XenServer 5.5.
|
static void |
disableHa(Connection c)
Turn off High Availability mode
First published in XenServer 4.1.
|
static Task |
disableHaAsync(Connection c)
Turn off High Availability mode
First published in XenServer 4.1.
|
void |
disableLocalStorageCaching(Connection c)
This call disables pool-wide local storage caching
First published in XenServer 5.6 FP1.
|
Task |
disableLocalStorageCachingAsync(Connection c)
This call disables pool-wide local storage caching
First published in XenServer 5.6 FP1.
|
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.
|
void |
disableSslLegacy(Connection c)
Deprecated.
|
Task |
disableSslLegacyAsync(Connection c)
Deprecated.
|
static void |
eject(Connection c,
Host host)
Instruct a pool master to eject a host from the pool
First published in XenServer 4.0.
|
static Task |
ejectAsync(Connection c,
Host host)
Instruct a pool master to eject a host from the pool
First published in XenServer 4.0.
|
static void |
emergencyResetMaster(Connection c,
java.lang.String masterAddress)
Instruct a slave already in a pool that the master has changed
First published in XenServer 4.0.
|
static void |
emergencyTransitionToMaster(Connection c)
Instruct host that's currently a slave to transition to being master
First published in XenServer 4.0.
|
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
First published in XenServer 5.5.
|
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
First published in XenServer 4.1.
|
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
First published in XenServer 4.1.
|
void |
enableLocalStorageCaching(Connection c)
This call attempts to enable pool-wide local storage caching
First published in XenServer 5.6 FP1.
|
Task |
enableLocalStorageCachingAsync(Connection c)
This call attempts to enable pool-wide local storage caching
First published in XenServer 5.6 FP1.
|
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.
|
void |
enableSslLegacy(Connection c)
Sets ssl_legacy true on each host, pool-master last.
|
Task |
enableSslLegacyAsync(Connection c)
Sets ssl_legacy true on each host, pool-master last.
|
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.
|
java.util.Set<Types.PoolAllowedOperations> |
getAllowedOperations(Connection c)
Get the allowed_operations field of the given pool.
|
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.
|
java.util.Map<java.lang.String,java.lang.String> |
getCpuInfo(Connection c)
Get the cpu_info field of the given pool.
|
SR |
getCrashDumpSR(Connection c)
Get the crash_dump_SR field of the given pool.
|
java.util.Map<java.lang.String,Types.PoolAllowedOperations> |
getCurrentOperations(Connection c)
Get the current_operations 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> |
getGuestAgentConfig(Connection c)
Get the guest_agent_config 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.lang.String |
getHaClusterStack(Connection c)
Get the ha_cluster_stack 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.
|
java.util.Map<java.lang.String,java.lang.String> |
getHealthCheckConfig(Connection c)
Get the health_check_config field of the given pool.
|
java.lang.Boolean |
getIgmpSnoopingEnabled(Connection c)
Get the igmp_snooping_enabled field of the given pool.
|
java.util.Map<java.lang.String,java.lang.String> |
getLicenseState(Connection c)
This call returns the license state for the pool
First published in XenServer 6.2.
|
Task |
getLicenseStateAsync(Connection c)
This call returns the license state for the pool
First published in XenServer 6.2.
|
java.lang.Boolean |
getLivePatchingDisabled(Connection c)
Get the live_patching_disabled field of the given pool.
|
Host |
getMaster(Connection c)
Get the master field of the given pool.
|
java.util.Set<VDI> |
getMetadataVDIs(Connection c)
Get the metadata_VDIs 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.
|
java.lang.Boolean |
getPolicyNoVendorDevice(Connection c)
Get the policy_no_vendor_device 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 |
getUefiCertificates(Connection c)
Get the uefi_certificates 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)
Deprecated.
|
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
First published in XenServer 5.0.
|
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
First published in XenServer 5.0.
|
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
First published in XenServer 5.0.
|
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
First published in XenServer 5.0.
|
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.
|
java.lang.Boolean |
hasExtension(Connection c,
java.lang.String name)
Return true if the extension is available on the pool
First published in XenServer 7.0.
|
Task |
hasExtensionAsync(Connection c,
java.lang.String name)
Return true if the extension is available on the pool
First published in XenServer 7.0.
|
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
First published in XenServer 5.5.
|
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
First published in XenServer 5.5.
|
static void |
join(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
First published in XenServer 4.0.
|
static Task |
joinAsync(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
First published in XenServer 4.0.
|
static void |
joinForce(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
First published in XenServer 4.0.
|
static Task |
joinForceAsync(Connection c,
java.lang.String masterAddress,
java.lang.String masterUsername,
java.lang.String masterPassword)
Instruct host to join a new pool
First published in XenServer 4.0.
|
static void |
managementReconfigure(Connection c,
Network network)
Reconfigure the management network interface for all Hosts in the Pool
First published in XenServer 7.3.
|
static Task |
managementReconfigureAsync(Connection c,
Network network)
Reconfigure the management network interface for all Hosts in the Pool
First published in XenServer 7.3.
|
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 |
removeFromGuestAgentConfig(Connection c,
java.lang.String key)
Remove a key-value pair from the pool-wide guest agent configuration
First published in XenServer 7.0.
|
Task |
removeFromGuestAgentConfigAsync(Connection c,
java.lang.String key)
Remove a key-value pair from the pool-wide guest agent configuration
First published in XenServer 7.0.
|
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 |
removeFromHealthCheckConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the health_check_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
First published in XenServer 5.5.
|
static Task |
retrieveWlbConfigurationAsync(Connection c)
Retrieves the pool optimization criteria from the workload balancing server
First published in XenServer 5.5.
|
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
First published in XenServer 5.5.
|
static Task |
retrieveWlbRecommendationsAsync(Connection c)
Retrieves vm migrate recommendations for the pool from the workload balancing server
First published in XenServer 5.5.
|
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
First published in XenServer 5.5.
|
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
First published in XenServer 5.5.
|
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
First published in XenServer 5.0.
|
Task |
setHaHostFailuresToTolerateAsync(Connection c,
java.lang.Long value)
Set the maximum number of host failures to consider in the HA VM restart planner
First published in XenServer 5.0.
|
void |
setHealthCheckConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> healthCheckConfig)
Set the health_check_config field of the given pool.
|
void |
setIgmpSnoopingEnabled(Connection c,
java.lang.Boolean value)
Enable or disable IGMP Snooping on the pool.
|
Task |
setIgmpSnoopingEnabledAsync(Connection c,
java.lang.Boolean value)
Enable or disable IGMP Snooping on the pool.
|
void |
setLivePatchingDisabled(Connection c,
java.lang.Boolean livePatchingDisabled)
Set the live_patching_disabled field of the given pool.
|
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 |
setPolicyNoVendorDevice(Connection c,
java.lang.Boolean policyNoVendorDevice)
Set the policy_no_vendor_device 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.
|
void |
setUefiCertificates(Connection c,
java.lang.String uefiCertificates)
Set the uefi_certificates field of the given pool.
|
static void |
setVswitchController(Connection c,
java.lang.String address)
Deprecated.
|
static Task |
setVswitchControllerAsync(Connection c,
java.lang.String address)
Deprecated.
|
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
First published in XenServer 4.0.
|
static Task |
syncDatabaseAsync(Connection c)
Forcibly synchronise the database now
First published in XenServer 4.0.
|
java.lang.String |
testArchiveTarget(Connection c,
java.util.Map<java.lang.String,java.lang.String> config)
This call tests if a location is valid
First published in XenServer 5.6 FP1.
|
java.lang.String |
toWireString() |
isNull
protected final java.lang.String ref
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
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Pool getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onuuid
- UUID of object to returnTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Host getMaster(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public SR getDefaultSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public SR getSuspendImageSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public SR getCrashDumpSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getHaEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getHaConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<java.lang.String> getHaStatefiles(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getHaHostFailuresToTolerate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getHaPlanExistsFor(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getHaAllowOvercommit(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getHaOvercommitted(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,Blob> getBlobs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<java.lang.String> getTags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getGuiConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getHealthCheckConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getWlbUrl(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getWlbUsername(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getWlbEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getWlbVerifyCert(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getRedoLogEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VDI getRedoLogVdi(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public java.lang.String getVswitchController(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getRestrictions(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VDI> getMetadataVDIs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getHaClusterStack(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Types.PoolAllowedOperations> getAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,Types.PoolAllowedOperations> getCurrentOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getGuestAgentConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getCpuInfo(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getPolicyNoVendorDevice(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getLivePatchingDisabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getIgmpSnoopingEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getUefiCertificates(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setNameLabel(Connection c, java.lang.String nameLabel) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onnameLabel
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setNameDescription(Connection c, java.lang.String nameDescription) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onnameDescription
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setDefaultSR(Connection c, SR defaultSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondefaultSR
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setSuspendImageSR(Connection c, SR suspendImageSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsuspendImageSR
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setCrashDumpSR(Connection c, SR crashDumpSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made oncrashDumpSR
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onotherConfig
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHaAllowOvercommit(Connection c, java.lang.Boolean haAllowOvercommit) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhaAllowOvercommit
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setTags(Connection c, java.util.Set<java.lang.String> tags) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontags
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- New value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- Value to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setGuiConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> guiConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onguiConfig
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToGuiConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromGuiConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHealthCheckConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> healthCheckConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhealthCheckConfig
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToHealthCheckConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromHealthCheckConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setWlbEnabled(Connection c, java.lang.Boolean wlbEnabled) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onwlbEnabled
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setWlbVerifyCert(Connection c, java.lang.Boolean wlbVerifyCert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onwlbVerifyCert
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPolicyNoVendorDevice(Connection c, java.lang.Boolean policyNoVendorDevice) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onpolicyNoVendorDevice
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setLivePatchingDisabled(Connection c, java.lang.Boolean livePatchingDisabled) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onlivePatchingDisabled
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setUefiCertificates(Connection c, java.lang.String uefiCertificates) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onuefiCertificates
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onmasterAddress
- 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
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.JoiningHostCannotContainSharedSrs
- The server joining the pool cannot contain any shared storage.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
c
- The connection the call is made onmasterAddress
- 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
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.JoiningHostCannotContainSharedSrs
- The server joining the pool cannot contain any shared storage.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
c
- The connection the call is made onmasterAddress
- 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
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onmasterAddress
- 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
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task ejectAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host to ejectTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void eject(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host to ejectTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void emergencyTransitionToMaster(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void emergencyResetMaster(Connection c, java.lang.String masterAddress) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onmasterAddress
- The hostname of the masterTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task recoverSlavesAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<Host> recoverSlaves(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made ondevice
- physical interface on which to create the VLAN interfacenetwork
- network to which this interface should be connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VlanTagInvalid
- You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094. The parameter echoes the VLAN tag you gave.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
c
- The connection the call is made ondevice
- physical interface on which to create the VLAN interfacenetwork
- network to which this interface should be connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VlanTagInvalid
- You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094. The parameter echoes the VLAN tag you gave.public static Task managementReconfigureAsync(Connection c, Network network) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HaIsEnabled, Types.PifNotPresent, Types.CannotPlugBondSlave, Types.PifIncompatiblePrimaryAddressType, Types.PifHasNoNetworkConfiguration, Types.PifHasNoV6NetworkConfiguration
c
- The connection the call is made onnetwork
- The networkTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.HaIsEnabled
- The operation could not be performed because HA is enabled on the PoolTypes.PifNotPresent
- This host has no PIF on the given network.Types.CannotPlugBondSlave
- This PIF is a bond slave and cannot be plugged.Types.PifIncompatiblePrimaryAddressType
- The primary address types are not compatibleTypes.PifHasNoNetworkConfiguration
- PIF has no IP configuration (mode currently set to 'none')Types.PifHasNoV6NetworkConfiguration
- PIF has no IPv6 configuration (mode currently set to 'none')public static void managementReconfigure(Connection c, Network network) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HaIsEnabled, Types.PifNotPresent, Types.CannotPlugBondSlave, Types.PifIncompatiblePrimaryAddressType, Types.PifHasNoNetworkConfiguration, Types.PifHasNoV6NetworkConfiguration
c
- The connection the call is made onnetwork
- The networkTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.HaIsEnabled
- The operation could not be performed because HA is enabled on the PoolTypes.PifNotPresent
- This host has no PIF on the given network.Types.CannotPlugBondSlave
- This PIF is a bond slave and cannot be plugged.Types.PifIncompatiblePrimaryAddressType
- The primary address types are not compatibleTypes.PifHasNoNetworkConfiguration
- PIF has no IP configuration (mode currently set to 'none')Types.PifHasNoV6NetworkConfiguration
- PIF has no IPv6 configuration (mode currently set to 'none')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
c
- The connection the call is made onpif
- 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
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VlanTagInvalid
- You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094. The parameter echoes the VLAN tag you gave.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
c
- The connection the call is made onpif
- 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
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VlanTagInvalid
- You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094. The parameter echoes the VLAN tag you gave.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
c
- The connection the call is made onheartbeatSrs
- Set of SRs to use for storage heartbeatingconfiguration
- Detailed HA configuration to applyTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onheartbeatSrs
- Set of SRs to use for storage heartbeatingconfiguration
- Detailed HA configuration to applyTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task disableHaAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void disableHa(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task syncDatabaseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void syncDatabase(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task designateNewMasterAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host who should become the new masterTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void designateNewMaster(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host who should become the new masterTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void haPreventRestartsFor(Connection c, java.lang.Long seconds) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onseconds
- The number of seconds to block the restart thread forTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.lang.Boolean haFailoverPlanExists(Connection c, java.lang.Long n) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onn
- The number of host failures to plan forTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.lang.Long haComputeMaxHostFailuresToTolerate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onconfiguration
- Map of protected VM reference to restart priorityTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onfailedHosts
- The set of hosts to assume have failedfailedVms
- The set of VMs to restartTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setHaHostFailuresToTolerateAsync(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- New number of host failures to considerTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHaHostFailuresToTolerate(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- New number of host failures to considerTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task createNewBlobAsync(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Blob createNewBlob(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task createNewBlobAsync(Connection c, java.lang.String name, java.lang.String mimeType, java.lang.Boolean _public) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-stream_public
- True if the blob should be publicly available First published in XenServer 6.1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Blob createNewBlob(Connection c, java.lang.String name, java.lang.String mimeType, java.lang.Boolean _public) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-stream_public
- True if the blob should be publicly available First published in XenServer 6.1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onconfig
- 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
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void disableExternalAuth(Connection c, java.util.Map<java.lang.String,java.lang.String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onconfig
- Optional parameters as a list of key-values containing the configuration dataTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void detectNonhomogeneousExternalAuth(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onwlbUrl
- 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 username used by the wlb server to authenticate with the xenserverxenserverPassword
- The password used by the wlb server to authenticate with the xenserverTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onwlbUrl
- 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 username used by the wlb server to authenticate with the xenserverxenserverPassword
- The password used by the wlb server to authenticate with the xenserverTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task deconfigureWlbAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void deconfigureWlb(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onconfig
- The configuration to use in optimizing this poolTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onconfig
- The configuration to use in optimizing this poolTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task retrieveWlbConfigurationAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Map<java.lang.String,java.lang.String> retrieveWlbConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task retrieveWlbRecommendationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Map<VM,java.util.Set<java.lang.String>> retrieveWlbRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onhost
- No descriptionport
- No descriptionbody
- No descriptionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onhost
- No descriptionport
- No descriptionbody
- No descriptionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task certificateInstallAsync(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- A name to give the certificatecert
- The certificateTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void certificateInstall(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- A name to give the certificatecert
- The certificateTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task certificateUninstallAsync(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The certificate nameTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void certificateUninstall(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The certificate nameTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task certificateListAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<java.lang.String> certificateList(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task crlInstallAsync(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- A name to give the CRLcert
- The CRLTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void crlInstall(Connection c, java.lang.String name, java.lang.String cert) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- A name to give the CRLcert
- The CRLTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task crlUninstallAsync(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The CRL nameTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void crlUninstall(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The CRL nameTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task crlListAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<java.lang.String> crlList(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task certificateSyncAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void certificateSync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task enableRedoLogAsync(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsr
- SR to hold the redo log.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void enableRedoLog(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsr
- SR to hold the redo log.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task disableRedoLogAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void disableRedoLog(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public static Task setVswitchControllerAsync(Connection c, java.lang.String address) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onaddress
- IP address of the vswitch controller.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public static void setVswitchController(Connection c, java.lang.String address) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onaddress
- IP address of the vswitch controller.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.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
c
- The connection the call is made onconfig
- Location config settings to testTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task enableLocalStorageCachingAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void enableLocalStorageCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task disableLocalStorageCachingAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void disableLocalStorageCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task getLicenseStateAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getLicenseState(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task applyEditionAsync(Connection c, java.lang.String edition) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onedition
- The requested editionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void applyEdition(Connection c, java.lang.String edition) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onedition
- The requested editionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task enableSslLegacyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void enableSslLegacy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public Task disableSslLegacyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public void disableSslLegacy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setIgmpSnoopingEnabledAsync(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- Enable or disable IGMP Snooping on the poolTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setIgmpSnoopingEnabled(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- Enable or disable IGMP Snooping on the poolTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task hasExtensionAsync(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name of the API callTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean hasExtension(Connection c, java.lang.String name) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name of the API callTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task addToGuestAgentConfigAsync(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The key to addvalue
- The value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToGuestAgentConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The key to addvalue
- The value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task removeFromGuestAgentConfigAsync(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromGuestAgentConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<Pool> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Map<Pool,Pool.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.