com.xensource.xenapi
public class PGPU extends XenAPIObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PGPU.Record
Represents all the fields in a PGPU
|
| 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 |
addEnabledVGPUTypes(Connection c,
VGPUType value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
Task |
addEnabledVGPUTypesAsync(Connection c,
VGPUType value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
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 PGPU.
|
Types.PgpuDom0Access |
disableDom0Access(Connection c)
First published in XenServer 6.5 SP1.
|
Task |
disableDom0AccessAsync(Connection c)
First published in XenServer 6.5 SP1.
|
Types.PgpuDom0Access |
enableDom0Access(Connection c)
First published in XenServer 6.5 SP1.
|
Task |
enableDom0AccessAsync(Connection c)
First published in XenServer 6.5 SP1.
|
boolean |
equals(java.lang.Object obj)
If obj is a PGPU, compares XenAPI references for equality.
|
static java.util.Set<PGPU> |
getAll(Connection c)
Return a list of all the PGPUs known to the system.
|
static java.util.Map<PGPU,PGPU.Record> |
getAllRecords(Connection c)
Return a map of PGPU references to PGPU records for all PGPUs known to the system.
|
static PGPU |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the PGPU instance with the specified UUID.
|
java.util.Map<java.lang.String,java.lang.String> |
getCompatibilityMetadata(Connection c)
Get the compatibility_metadata field of the given PGPU.
|
Types.PgpuDom0Access |
getDom0Access(Connection c)
Get the dom0_access field of the given PGPU.
|
java.util.Set<VGPUType> |
getEnabledVGPUTypes(Connection c)
Get the enabled_VGPU_types field of the given PGPU.
|
GPUGroup |
getGPUGroup(Connection c)
Get the GPU_group field of the given PGPU.
|
Host |
getHost(Connection c)
Get the host field of the given PGPU.
|
java.lang.Boolean |
getIsSystemDisplayDevice(Connection c)
Get the is_system_display_device field of the given PGPU.
|
java.util.Map<java.lang.String,java.lang.String> |
getOtherConfig(Connection c)
Get the other_config field of the given PGPU.
|
PCI |
getPCI(Connection c)
Get the PCI field of the given PGPU.
|
PGPU.Record |
getRecord(Connection c)
Get a record containing the current state of the given PGPU.
|
java.lang.Long |
getRemainingCapacity(Connection c,
VGPUType vgpuType)
First published in XenServer 6.2 SP1 Tech-Preview.
|
Task |
getRemainingCapacityAsync(Connection c,
VGPUType vgpuType)
First published in XenServer 6.2 SP1 Tech-Preview.
|
java.util.Set<VGPU> |
getResidentVGPUs(Connection c)
Get the resident_VGPUs field of the given PGPU.
|
java.util.Map<VGPUType,java.lang.Long> |
getSupportedVGPUMaxCapacities(Connection c)
Get the supported_VGPU_max_capacities field of the given PGPU.
|
java.util.Set<VGPUType> |
getSupportedVGPUTypes(Connection c)
Get the supported_VGPU_types field of the given PGPU.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given PGPU.
|
int |
hashCode() |
void |
removeEnabledVGPUTypes(Connection c,
VGPUType value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
Task |
removeEnabledVGPUTypesAsync(Connection c,
VGPUType value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given PGPU.
|
void |
setEnabledVGPUTypes(Connection c,
java.util.Set<VGPUType> value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
Task |
setEnabledVGPUTypesAsync(Connection c,
java.util.Set<VGPUType> value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
void |
setGPUGroup(Connection c,
GPUGroup value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
Task |
setGPUGroupAsync(Connection c,
GPUGroup value)
First published in XenServer 6.2 SP1 Tech-Preview.
|
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given PGPU.
|
java.lang.String |
toWireString() |
isNullprotected final java.lang.String ref
public java.lang.String toWireString()
toWireString in class XenAPIObjectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic PGPU.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static PGPU getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid - UUID of object to returnTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic PCI getPCI(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic GPUGroup getGPUGroup(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Host getHost(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<VGPUType> getSupportedVGPUTypes(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<VGPUType> getEnabledVGPUTypes(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<VGPU> getResidentVGPUs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Map<VGPUType,java.lang.Long> getSupportedVGPUMaxCapacities(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.PgpuDom0Access getDom0Access(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getIsSystemDisplayDevice(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Map<java.lang.String,java.lang.String> getCompatibilityMetadata(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task addEnabledVGPUTypesAsync(Connection c, VGPUType value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The VGPU type to enableTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addEnabledVGPUTypes(Connection c, VGPUType value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The VGPU type to enableTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task removeEnabledVGPUTypesAsync(Connection c, VGPUType value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The VGPU type to disableTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeEnabledVGPUTypes(Connection c, VGPUType value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The VGPU type to disableTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setEnabledVGPUTypesAsync(Connection c, java.util.Set<VGPUType> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The VGPU types to enableTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setEnabledVGPUTypes(Connection c, java.util.Set<VGPUType> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The VGPU types to enableTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setGPUGroupAsync(Connection c, GPUGroup value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The group to which the PGPU will be movedTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setGPUGroup(Connection c, GPUGroup value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The group to which the PGPU will be movedTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task getRemainingCapacityAsync(Connection c, VGPUType vgpuType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
vgpuType - The VGPU type for which we want to find the number of VGPUs which can still be started on this PGPUTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Long getRemainingCapacity(Connection c, VGPUType vgpuType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
vgpuType - The VGPU type for which we want to find the number of VGPUs which can still be started on this PGPUTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task enableDom0AccessAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.PgpuDom0Access enableDom0Access(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task disableDom0AccessAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.PgpuDom0Access disableDom0Access(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static java.util.Set<PGPU> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static java.util.Map<PGPU,PGPU.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException