|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xensource.xenapi.XenAPIObject
com.xensource.xenapi.Host
public class Host
A physical host First published in XenServer 4.0.
Nested Class Summary | |
---|---|
static class |
Host.Record
Represents all the fields in a Host |
Field Summary | |
---|---|
protected java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object. |
Method Summary | |
---|---|
void |
addTags(Connection c,
java.lang.String value)
Add the given value to the tags field of the given host. |
void |
addToGuestVCPUsParams(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the guest_VCPUs_params field of the given host. |
void |
addToLicenseServer(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the license_server field of the given host. |
void |
addToLogging(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the logging field of the given host. |
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 host. |
void |
applyEdition(Connection c,
java.lang.String edition)
Change to another edition, or reactivate the current edition after a license has expired. |
void |
applyEdition(Connection c,
java.lang.String edition,
java.lang.Boolean force)
Change to another edition, or reactivate the current edition after a license has expired. |
void |
assertCanEvacuate(Connection c)
Check this host can be evacuated. |
Task |
assertCanEvacuateAsync(Connection c)
Check this host can be evacuated. |
void |
backupRrds(Connection c,
java.lang.Double delay)
This causes the RRDs to be backed up to the master First published in XenServer 5.0. |
void |
bugreportUpload(Connection c,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> options)
Run xen-bugtool --yestoall and upload the output to Citrix support First published in XenServer 4.0. |
Task |
bugreportUploadAsync(Connection c,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> options)
Run xen-bugtool --yestoall and upload the output to Citrix support First published in XenServer 4.0. |
java.lang.String |
callPlugin(Connection c,
java.lang.String plugin,
java.lang.String fn,
java.util.Map<java.lang.String,java.lang.String> args)
Call a XenAPI plugin on this host First published in XenServer 5.0. |
Task |
callPluginAsync(Connection c,
java.lang.String plugin,
java.lang.String fn,
java.util.Map<java.lang.String,java.lang.String> args)
Call a XenAPI plugin on this host First published in XenServer 5.0. |
java.lang.Long |
computeFreeMemory(Connection c)
Computes the amount of free memory on the host. |
Task |
computeFreeMemoryAsync(Connection c)
Computes the amount of free memory on the host. |
java.lang.Long |
computeMemoryOverhead(Connection c)
Computes the virtualization memory overhead of a host. |
Task |
computeMemoryOverheadAsync(Connection c)
Computes the virtualization memory overhead of a host. |
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 host 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 host 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 host 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 host First published in XenServer 5.0. |
void |
declareDead(Connection c)
Declare that a host is dead. |
Task |
declareDeadAsync(Connection c)
Declare that a host is dead. |
void |
destroy(Connection c)
Destroy specified host record in database First published in XenServer 4.0. |
Task |
destroyAsync(Connection c)
Destroy specified host record in database First published in XenServer 4.0. |
void |
disable(Connection c)
Puts the host into a state in which no new VMs can be started. |
Task |
disableAsync(Connection c)
Puts the host into a state in which no new VMs can be started. |
Types.HostDisplay |
disableDisplay(Connection c)
Disable console output to the physical display device next time this host boots First published in XenServer 6.5 SP1. |
Task |
disableDisplayAsync(Connection c)
Disable console output to the physical display device next time this host boots First published in XenServer 6.5 SP1. |
void |
disableExternalAuth(Connection c,
java.util.Map<java.lang.String,java.lang.String> config)
This call disables external authentication on the local host First published in XenServer 5.5. |
void |
disableLocalStorageCaching(Connection c)
Disable the use of a local SR for caching purposes First published in XenServer 5.6 FP1. |
java.lang.String |
dmesg(Connection c)
Get the host xen dmesg. |
Task |
dmesgAsync(Connection c)
Get the host xen dmesg. |
java.lang.String |
dmesgClear(Connection c)
Get the host xen dmesg, and clear the buffer. |
Task |
dmesgClearAsync(Connection c)
Get the host xen dmesg, and clear the buffer. |
static void |
emergencyHaDisable(Connection c)
This call disables HA on the local host. |
void |
enable(Connection c)
Puts the host into a state in which new VMs can be started. |
Task |
enableAsync(Connection c)
Puts the host into a state in which new VMs can be started. |
Types.HostDisplay |
enableDisplay(Connection c)
Enable console output to the physical display device next time this host boots First published in XenServer 6.5 SP1. |
Task |
enableDisplayAsync(Connection c)
Enable console output to the physical display device next time this host boots First published in XenServer 6.5 SP1. |
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 a host First published in XenServer 5.5. |
void |
enableLocalStorageCaching(Connection c,
SR sr)
Enable the use of a local SR for caching purposes First published in XenServer 5.6 FP1. |
boolean |
equals(java.lang.Object obj)
If obj is a Host, compares XenAPI references for equality. |
void |
evacuate(Connection c)
Migrate all VMs off of this host, where possible. |
Task |
evacuateAsync(Connection c)
Migrate all VMs off of this host, where possible. |
void |
forgetDataSourceArchives(Connection c,
java.lang.String dataSource)
Forget the recorded statistics related to the specified data source First published in XenServer 5.0. |
java.lang.String |
getAddress(Connection c)
Get the address field of the given host. |
static java.util.Set<Host> |
getAll(Connection c)
Return a list of all the hosts known to the system. |
java.util.Set<Types.HostAllowedOperations> |
getAllowedOperations(Connection c)
Get the allowed_operations field of the given host. |
static java.util.Map<Host,Host.Record> |
getAllRecords(Connection c)
Return a map of host references to host records for all hosts known to the system. |
java.lang.Long |
getAPIVersionMajor(Connection c)
Get the API_version/major field of the given host. |
java.lang.Long |
getAPIVersionMinor(Connection c)
Get the API_version/minor field of the given host. |
java.lang.String |
getAPIVersionVendor(Connection c)
Get the API_version/vendor field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getAPIVersionVendorImplementation(Connection c)
Get the API_version/vendor_implementation field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getBiosStrings(Connection c)
Get the bios_strings field of the given host. |
java.util.Map<java.lang.String,Blob> |
getBlobs(Connection c)
Get the blobs field of the given host. |
static java.util.Set<Host> |
getByNameLabel(Connection c,
java.lang.String label)
Get all the host instances with the given label. |
static Host |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the host instance with the specified UUID. |
java.util.Set<java.lang.String> |
getCapabilities(Connection c)
Get the capabilities field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getChipsetInfo(Connection c)
Get the chipset_info field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getCpuConfiguration(Connection c)
Get the cpu_configuration field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getCpuInfo(Connection c)
Get the cpu_info field of the given host. |
java.util.Set<HostCrashdump> |
getCrashdumps(Connection c)
Get the crashdumps field of the given host. |
SR |
getCrashDumpSr(Connection c)
Get the crash_dump_sr field of the given host. |
java.util.Map<java.lang.String,Types.HostAllowedOperations> |
getCurrentOperations(Connection c)
Get the current_operations field of the given host. |
java.util.Set<DataSource.Record> |
getDataSources(Connection c)
First published in XenServer 5.0. |
Types.HostDisplay |
getDisplay(Connection c)
Get the display field of the given host. |
java.lang.String |
getEdition(Connection c)
Get the edition field of the given host. |
java.lang.Boolean |
getEnabled(Connection c)
Get the enabled field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getExternalAuthConfiguration(Connection c)
Get the external_auth_configuration field of the given host. |
java.lang.String |
getExternalAuthServiceName(Connection c)
Get the external_auth_service_name field of the given host. |
java.lang.String |
getExternalAuthType(Connection c)
Get the external_auth_type field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getGuestVCPUsParams(Connection c)
Get the guest_VCPUs_params field of the given host. |
java.util.Set<java.lang.String> |
getHaNetworkPeers(Connection c)
Get the ha_network_peers field of the given host. |
java.util.Set<java.lang.String> |
getHaStatefiles(Connection c)
Get the ha_statefiles field of the given host. |
java.util.Set<HostCpu> |
getHostCPUs(Connection c)
Get the host_CPUs field of the given host. |
java.lang.String |
getHostname(Connection c)
Get the hostname field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getLicenseParams(Connection c)
Get the license_params field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getLicenseServer(Connection c)
Get the license_server field of the given host. |
SR |
getLocalCacheSr(Connection c)
Get the local_cache_sr field of the given host. |
java.lang.String |
getLog(Connection c)
Get the host's log file First published in XenServer 4.0. |
Task |
getLogAsync(Connection c)
Get the host's log file First published in XenServer 4.0. |
java.util.Map<java.lang.String,java.lang.String> |
getLogging(Connection c)
Get the logging field of the given host. |
PIF |
getManagementIface(Connection c)
Returns the management interface for the specified host Experimental. |
Task |
getManagementIfaceAsync(Connection c)
Returns the management interface for the specified host Experimental. |
java.lang.Long |
getMemoryOverhead(Connection c)
Get the memory/overhead field of the given host. |
HostMetrics |
getMetrics(Connection c)
Get the metrics field of the given host. |
java.lang.String |
getNameDescription(Connection c)
Get the name/description field of the given host. |
java.lang.String |
getNameLabel(Connection c)
Get the name/label field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getOtherConfig(Connection c)
Get the other_config field of the given host. |
java.util.Set<HostPatch> |
getPatches(Connection c)
Get the patches field of the given host. |
java.util.Set<PBD> |
getPBDs(Connection c)
Get the PBDs field of the given host. |
java.util.Set<PCI> |
getPCIs(Connection c)
Get the PCIs field of the given host. |
java.util.Set<PGPU> |
getPGPUs(Connection c)
Get the PGPUs field of the given host. |
java.util.Set<PIF> |
getPIFs(Connection c)
Get the PIFs field of the given host. |
java.util.Map<java.lang.String,java.lang.String> |
getPowerOnConfig(Connection c)
Get the power_on_config field of the given host. |
java.lang.String |
getPowerOnMode(Connection c)
Get the power_on_mode field of the given host. |
Host.Record |
getRecord(Connection c)
Get a record containing the current state of the given host. |
java.util.Set<VM> |
getResidentVMs(Connection c)
Get the resident_VMs field of the given host. |
java.lang.String |
getSchedPolicy(Connection c)
Get the sched_policy field of the given host. |
java.lang.String |
getServerCertificate(Connection c)
Get the installed server SSL certificate. |
Task |
getServerCertificateAsync(Connection c)
Get the installed server SSL certificate. |
java.util.Date |
getServerLocaltime(Connection c)
This call queries the host's clock for the current time in the host's local timezone First published in XenServer 5.6 FP1. |
java.util.Date |
getServertime(Connection c)
This call queries the host's clock for the current time First published in XenServer 5.0. |
java.util.Map<java.lang.String,java.lang.String> |
getSoftwareVersion(Connection c)
Get the software_version field of the given host. |
java.util.Set<java.lang.String> |
getSupportedBootloaders(Connection c)
Get the supported_bootloaders field of the given host. |
SR |
getSuspendImageSr(Connection c)
Get the suspend_image_sr field of the given host. |
java.lang.String |
getSystemStatusCapabilities(Connection c)
First published in XenServer 4.1. |
java.util.Set<java.lang.String> |
getTags(Connection c)
Get the tags field of the given host. |
java.util.Set<VM> |
getUncooperativeResidentVMs(Connection c)
Deprecated. |
Task |
getUncooperativeResidentVMsAsync(Connection c)
Deprecated. |
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given host. |
java.util.Set<java.lang.Long> |
getVirtualHardwarePlatformVersions(Connection c)
Get the virtual_hardware_platform_versions field of the given host. |
java.util.Map<VM,java.util.Set<java.lang.String>> |
getVmsWhichPreventEvacuation(Connection c)
Return a set of VMs which prevent the host being evacuated, with per-VM error codes First published in XenServer 5.0. |
Task |
getVmsWhichPreventEvacuationAsync(Connection c)
Return a set of VMs which prevent the host being evacuated, with per-VM error codes First published in XenServer 5.0. |
int |
hashCode()
|
void |
licenseApply(Connection c,
java.lang.String contents)
Apply a new license to a host First published in XenServer 4.0. |
Task |
licenseApplyAsync(Connection c,
java.lang.String contents)
Apply a new license to a host First published in XenServer 4.0. |
static java.util.Set<java.lang.String> |
listMethods(Connection c)
List all supported methods First published in XenServer 4.0. |
static void |
localManagementReconfigure(Connection c,
java.lang.String iface)
Reconfigure the management network interface. |
static void |
managementDisable(Connection c)
Disable the management network interface First published in XenServer 4.1. |
static void |
managementReconfigure(Connection c,
PIF pif)
Reconfigure the management network interface First published in XenServer 4.1. |
static Task |
managementReconfigureAsync(Connection c,
PIF pif)
Reconfigure the management network interface First published in XenServer 4.1. |
java.util.Map<java.lang.String,java.lang.String> |
migrateReceive(Connection c,
Network network,
java.util.Map<java.lang.String,java.lang.String> options)
Prepare to receive a VM, returning a token which can be passed to VM.migrate. |
Task |
migrateReceiveAsync(Connection c,
Network network,
java.util.Map<java.lang.String,java.lang.String> options)
Prepare to receive a VM, returning a token which can be passed to VM.migrate. |
void |
powerOn(Connection c)
Attempt to power-on the host (if the capability exists). |
Task |
powerOnAsync(Connection c)
Attempt to power-on the host (if the capability exists). |
java.lang.Double |
queryDataSource(Connection c,
java.lang.String dataSource)
Query the latest value of the specified data source First published in XenServer 5.0. |
void |
reboot(Connection c)
Reboot the host. |
Task |
rebootAsync(Connection c)
Reboot the host. |
void |
recordDataSource(Connection c,
java.lang.String dataSource)
Start recording the specified data source First published in XenServer 5.0. |
void |
refreshPackInfo(Connection c)
Refresh the list of installed Supplemental Packs. |
Task |
refreshPackInfoAsync(Connection c)
Refresh the list of installed Supplemental Packs. |
void |
removeFromGuestVCPUsParams(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the guest_VCPUs_params field of the given host. |
void |
removeFromLicenseServer(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the license_server field of the given host. |
void |
removeFromLogging(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the logging field of the given host. |
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given host. |
void |
removeTags(Connection c,
java.lang.String value)
Remove the given value from the tags field of the given host. |
void |
resetCpuFeatures(Connection c)
Remove the feature mask, such that after a reboot all features of the CPU are enabled. |
void |
restartAgent(Connection c)
Restarts the agent after a 10 second pause. |
Task |
restartAgentAsync(Connection c)
Restarts the agent after a 10 second pause. |
java.util.Map<VM,java.util.Set<java.lang.String>> |
retrieveWlbEvacuateRecommendations(Connection c)
Retrieves recommended host migrations to perform when evacuating the host from the wlb server. |
Task |
retrieveWlbEvacuateRecommendationsAsync(Connection c)
Retrieves recommended host migrations to perform when evacuating the host from the wlb server. |
void |
sendDebugKeys(Connection c,
java.lang.String keys)
Inject the given string as debugging keys into Xen First published in XenServer 4.0. |
Task |
sendDebugKeysAsync(Connection c,
java.lang.String keys)
Inject the given string as debugging keys into Xen First published in XenServer 4.0. |
void |
setAddress(Connection c,
java.lang.String address)
Set the address field of the given host. |
void |
setCpuFeatures(Connection c,
java.lang.String features)
Set the CPU features to be used after a reboot, if the given features string is valid. |
void |
setCrashDumpSr(Connection c,
SR crashDumpSr)
Set the crash_dump_sr field of the given host. |
void |
setDisplay(Connection c,
Types.HostDisplay display)
Set the display field of the given host. |
void |
setGuestVCPUsParams(Connection c,
java.util.Map<java.lang.String,java.lang.String> guestVCPUsParams)
Set the guest_VCPUs_params field of the given host. |
void |
setHostname(Connection c,
java.lang.String hostname)
Set the hostname field of the given host. |
void |
setHostnameLive(Connection c,
java.lang.String hostname)
Sets the host name to the specified string. |
void |
setLicenseServer(Connection c,
java.util.Map<java.lang.String,java.lang.String> licenseServer)
Set the license_server field of the given host. |
void |
setLogging(Connection c,
java.util.Map<java.lang.String,java.lang.String> logging)
Set the logging field of the given host. |
void |
setNameDescription(Connection c,
java.lang.String description)
Set the name/description field of the given host. |
void |
setNameLabel(Connection c,
java.lang.String label)
Set the name/label field of the given host. |
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given host. |
void |
setPowerOnMode(Connection c,
java.lang.String powerOnMode,
java.util.Map<java.lang.String,java.lang.String> powerOnConfig)
Set the power-on-mode, host, user and password First published in XenServer 5.6. |
Task |
setPowerOnModeAsync(Connection c,
java.lang.String powerOnMode,
java.util.Map<java.lang.String,java.lang.String> powerOnConfig)
Set the power-on-mode, host, user and password First published in XenServer 5.6. |
void |
setSuspendImageSr(Connection c,
SR suspendImageSr)
Set the suspend_image_sr field of the given host. |
void |
setTags(Connection c,
java.util.Set<java.lang.String> tags)
Set the tags field of the given host. |
void |
shutdown(Connection c)
Shutdown the host. |
static void |
shutdownAgent(Connection c)
Shuts the agent down after a 10 second pause. |
Task |
shutdownAsync(Connection c)
Shutdown the host. |
void |
syncData(Connection c)
This causes the synchronisation of the non-database data (messages, RRDs and so on) stored on the master to be synchronised with the host First published in XenServer 5.0. |
void |
syslogReconfigure(Connection c)
Re-configure syslog logging First published in XenServer 4.1. |
Task |
syslogReconfigureAsync(Connection c)
Re-configure syslog logging First published in XenServer 4.1. |
java.lang.String |
toWireString()
|
Methods inherited from class com.xensource.xenapi.XenAPIObject |
---|
isNull |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String ref
Method Detail |
---|
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 Host.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Host getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid
- UUID of object to return
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<Host> getByNameLabel(Connection c, java.lang.String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
label
- label of object to return
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getMemoryOverhead(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<Types.HostAllowedOperations> getAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,Types.HostAllowedOperations> getCurrentOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getAPIVersionMajor(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getAPIVersionMinor(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getAPIVersionVendor(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getAPIVersionVendorImplementation(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getSoftwareVersion(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getCapabilities(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getCpuConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getSchedPolicy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getSupportedBootloaders(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<VM> getResidentVMs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getLogging(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<PIF> getPIFs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public SR getSuspendImageSr(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public SR getCrashDumpSr(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<HostCrashdump> getCrashdumps(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<HostPatch> getPatches(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<PBD> getPBDs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<HostCpu> getHostCPUs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getCpuInfo(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getHostname(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getAddress(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public HostMetrics getMetrics(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getLicenseParams(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getHaStatefiles(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getHaNetworkPeers(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,Blob> getBlobs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getTags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getExternalAuthType(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getExternalAuthServiceName(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getExternalAuthConfiguration(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getEdition(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getLicenseServer(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getBiosStrings(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getPowerOnMode(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getPowerOnConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public SR getLocalCacheSr(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getChipsetInfo(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<PCI> getPCIs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<PGPU> getPGPUs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getGuestVCPUsParams(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Types.HostDisplay getDisplay(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.Long> getVirtualHardwarePlatformVersions(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setNameLabel(Connection c, java.lang.String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
label
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setNameDescription(Connection c, java.lang.String description) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
description
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to add
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to remove
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setLogging(Connection c, java.util.Map<java.lang.String,java.lang.String> logging) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
logging
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToLogging(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to add
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromLogging(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to remove
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setSuspendImageSr(Connection c, SR suspendImageSr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
suspendImageSr
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setCrashDumpSr(Connection c, SR crashDumpSr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
crashDumpSr
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setHostname(Connection c, java.lang.String hostname) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
hostname
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setAddress(Connection c, java.lang.String address) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
address
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setTags(Connection c, java.util.Set<java.lang.String> tags) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
tags
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- New value to add
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- Value to remove
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setLicenseServer(Connection c, java.util.Map<java.lang.String,java.lang.String> licenseServer) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
licenseServer
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToLicenseServer(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to add
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromLicenseServer(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to remove
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setGuestVCPUsParams(Connection c, java.util.Map<java.lang.String,java.lang.String> guestVCPUsParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
guestVCPUsParams
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToGuestVCPUsParams(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to add
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromGuestVCPUsParams(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to remove
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setDisplay(Connection c, Types.HostDisplay display) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
display
- New value to set
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task disableAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void disable(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task enableAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void enable(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task shutdownAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void shutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task rebootAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void reboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task dmesgAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String dmesg(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task dmesgClearAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String dmesgClear(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task getLogAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getLog(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task sendDebugKeysAsync(Connection c, java.lang.String keys) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
keys
- The keys to send
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void sendDebugKeys(Connection c, java.lang.String keys) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
keys
- The keys to send
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task bugreportUploadAsync(Connection c, java.lang.String url, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
url
- The URL to upload tooptions
- Extra configuration operations
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void bugreportUpload(Connection c, java.lang.String url, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
url
- The URL to upload tooptions
- Extra configuration operations
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<java.lang.String> listMethods(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task licenseApplyAsync(Connection c, java.lang.String contents) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.LicenseProcessingError
contents
- The contents of the license file, base64 encoded
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.LicenseProcessingError
public void licenseApply(Connection c, java.lang.String contents) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.LicenseProcessingError
contents
- The contents of the license file, base64 encoded
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.LicenseProcessingError
public Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task powerOnAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void powerOn(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void emergencyHaDisable(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<DataSource.Record> getDataSources(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void recordDataSource(Connection c, java.lang.String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
dataSource
- The data source to record
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Double queryDataSource(Connection c, java.lang.String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
dataSource
- The data source to query
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void forgetDataSourceArchives(Connection c, java.lang.String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
dataSource
- The data source whose archives are to be forgotten
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task assertCanEvacuateAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void assertCanEvacuate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task getVmsWhichPreventEvacuationAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<VM,java.util.Set<java.lang.String>> getVmsWhichPreventEvacuation(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task getUncooperativeResidentVMsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public java.util.Set<VM> getUncooperativeResidentVMs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task evacuateAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void evacuate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task syslogReconfigureAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void syslogReconfigure(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task managementReconfigureAsync(Connection c, PIF pif) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
pif
- reference to a PIF object corresponding to the management interface
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void managementReconfigure(Connection c, PIF pif) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
pif
- reference to a PIF object corresponding to the management interface
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void localManagementReconfigure(Connection c, java.lang.String iface) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
iface
- name of the interface to use as a management interface
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void managementDisable(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task getManagementIfaceAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public PIF getManagementIface(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getSystemStatusCapabilities(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task restartAgentAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void restartAgent(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static void shutdownAgent(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setHostnameLive(Connection c, java.lang.String hostname) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HostNameInvalid
hostname
- The new host name
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
Types.HostNameInvalid
public Task computeFreeMemoryAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long computeFreeMemory(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task computeMemoryOverheadAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long computeMemoryOverhead(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void syncData(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void backupRrds(Connection c, java.lang.Double delay) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
delay
- Delay in seconds from when the call is received to perform the backup
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task createNewBlobAsync(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-stream
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Blob createNewBlob(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-stream
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
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
name
- 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
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
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
name
- 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
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task callPluginAsync(Connection c, java.lang.String plugin, java.lang.String fn, java.util.Map<java.lang.String,java.lang.String> args) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
plugin
- The name of the pluginfn
- The name of the function within the pluginargs
- Arguments for the function
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String callPlugin(Connection c, java.lang.String plugin, java.lang.String fn, java.util.Map<java.lang.String,java.lang.String> args) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
plugin
- The name of the pluginfn
- The name of the function within the pluginargs
- Arguments for the function
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Date getServertime(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Date getServerLocaltime(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void enableExternalAuth(Connection c, java.util.Map<java.lang.String,java.lang.String> config, java.lang.String serviceName, java.lang.String authType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config
- A list of key-values containing the configuration dataserviceName
- The name of the serviceauthType
- The type of authentication (e.g. AD for Active Directory)
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void disableExternalAuth(Connection c, java.util.Map<java.lang.String,java.lang.String> config) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
config
- Optional parameters as a list of key-values containing the configuration data
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task retrieveWlbEvacuateRecommendationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<VM,java.util.Set<java.lang.String>> retrieveWlbEvacuateRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task getServerCertificateAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getServerCertificate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void applyEdition(Connection c, java.lang.String edition) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
edition
- The requested edition
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void applyEdition(Connection c, java.lang.String edition, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
edition
- The requested editionforce
- Update the license params even if the apply call fails First published in XenServer 6.2.
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task refreshPackInfoAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void refreshPackInfo(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task setPowerOnModeAsync(Connection c, java.lang.String powerOnMode, java.util.Map<java.lang.String,java.lang.String> powerOnConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
powerOnMode
- power-on-mode can be empty,iLO,wake-on-lan, DRAC or otherpowerOnConfig
- Power on config
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setPowerOnMode(Connection c, java.lang.String powerOnMode, java.util.Map<java.lang.String,java.lang.String> powerOnConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
powerOnMode
- power-on-mode can be empty,iLO,wake-on-lan, DRAC or otherpowerOnConfig
- Power on config
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setCpuFeatures(Connection c, java.lang.String features) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
features
- The features string (32 hexadecimal digits)
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void resetCpuFeatures(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void enableLocalStorageCaching(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
sr
- The SR to use as a local cache
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void disableLocalStorageCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task migrateReceiveAsync(Connection c, Network network, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
network
- The network through which migration traffic should be received.options
- Extra configuration operations
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> migrateReceive(Connection c, Network network, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
network
- The network through which migration traffic should be received.options
- Extra configuration operations
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task declareDeadAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void declareDead(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task enableDisplayAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Types.HostDisplay enableDisplay(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task disableDisplayAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Types.HostDisplay disableDisplay(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<Host> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<Host,Host.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |