com.xensource.xenapi
Class Pool.Record

java.lang.Object
  extended by com.xensource.xenapi.Pool.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
Pool

public static class Pool.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a Pool


Field Summary
 java.util.Map<java.lang.String,Blob> blobs
          Binary blobs associated with this pool First published in XenServer 5.0.
 SR crashDumpSR
          The SR in which VDIs for crash dumps are created
 SR defaultSR
          Default SR for VDIs
 java.util.Map<java.lang.String,java.lang.String> guiConfig
          gui-specific configuration for pool First published in XenServer 5.0.
 java.lang.Boolean haAllowOvercommit
          If set to false then operations which would cause the Pool to become overcommitted will be blocked.
 java.util.Map<java.lang.String,java.lang.String> haConfiguration
          The current HA configuration First published in XenServer 5.0.
 java.lang.Boolean haEnabled
          true if HA is enabled on the pool, false otherwise First published in XenServer 5.0.
 java.lang.Long haHostFailuresToTolerate
          Number of host failures to tolerate before the Pool is declared to be overcommitted First published in XenServer 5.0.
 java.lang.Boolean haOvercommitted
          True if the Pool is considered to be overcommitted i.e.
 java.lang.Long haPlanExistsFor
          Number of future host failures we have managed to find a plan for.
 java.util.Set<java.lang.String> haStatefiles
          HA statefile VDIs in use First published in XenServer 5.0.
 Host master
          The host that is pool master
 java.util.Set<VDI> metadataVDIs
          The set of currently known metadata VDIs for this pool First published in XenServer 6.0.
 java.lang.String nameDescription
          Description
 java.lang.String nameLabel
          Short name
 java.util.Map<java.lang.String,java.lang.String> otherConfig
          additional configuration
 java.lang.Boolean redoLogEnabled
          true a redo-log is to be used other than when HA is enabled, false otherwise First published in XenServer 5.6.
 VDI redoLogVdi
          indicates the VDI to use for the redo-log other than when HA is enabled First published in XenServer 5.6.
 java.util.Map<java.lang.String,java.lang.String> restrictions
          Pool-wide restrictions currently in effect First published in XenServer 5.6.
 SR suspendImageSR
          The SR in which VDIs for suspend images are created
 java.util.Set<java.lang.String> tags
          user-specified tags for categorization purposes First published in XenServer 5.0.
 java.lang.String uuid
          Unique identifier/object reference
 java.lang.String vswitchController
          address of the vswitch controller First published in XenServer 5.6.
 java.lang.Boolean wlbEnabled
          true if workload balancing is enabled on the pool, false otherwise First published in XenServer 5.5.
 java.lang.String wlbUrl
          Url for the configured workload balancing host First published in XenServer 5.5.
 java.lang.String wlbUsername
          Username for accessing the workload balancing host First published in XenServer 5.5.
 java.lang.Boolean wlbVerifyCert
          true if communication with the WLB server should enforce SSL certificate verification.
 
Constructor Summary
Pool.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a pool.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public java.lang.String uuid
Unique identifier/object reference


nameLabel

public java.lang.String nameLabel
Short name


nameDescription

public java.lang.String nameDescription
Description


master

public Host master
The host that is pool master


defaultSR

public SR defaultSR
Default SR for VDIs


suspendImageSR

public SR suspendImageSR
The SR in which VDIs for suspend images are created


crashDumpSR

public SR crashDumpSR
The SR in which VDIs for crash dumps are created


otherConfig

public java.util.Map<java.lang.String,java.lang.String> otherConfig
additional configuration


haEnabled

public java.lang.Boolean haEnabled
true if HA is enabled on the pool, false otherwise First published in XenServer 5.0.


haConfiguration

public java.util.Map<java.lang.String,java.lang.String> haConfiguration
The current HA configuration First published in XenServer 5.0.


haStatefiles

public java.util.Set<java.lang.String> haStatefiles
HA statefile VDIs in use First published in XenServer 5.0.


haHostFailuresToTolerate

public java.lang.Long haHostFailuresToTolerate
Number of host failures to tolerate before the Pool is declared to be overcommitted First published in XenServer 5.0.


haPlanExistsFor

public java.lang.Long haPlanExistsFor
Number of future host failures we have managed to find a plan for. Once this reaches zero any future host failures will cause the failure of protected VMs. First published in XenServer 5.0.


haAllowOvercommit

public java.lang.Boolean haAllowOvercommit
If set to false then operations which would cause the Pool to become overcommitted will be blocked. First published in XenServer 5.0.


haOvercommitted

public java.lang.Boolean haOvercommitted
True if the Pool is considered to be overcommitted i.e. if there exist insufficient physical resources to tolerate the configured number of host failures First published in XenServer 5.0.


blobs

public java.util.Map<java.lang.String,Blob> blobs
Binary blobs associated with this pool First published in XenServer 5.0.


tags

public java.util.Set<java.lang.String> tags
user-specified tags for categorization purposes First published in XenServer 5.0.


guiConfig

public java.util.Map<java.lang.String,java.lang.String> guiConfig
gui-specific configuration for pool First published in XenServer 5.0.


wlbUrl

public java.lang.String wlbUrl
Url for the configured workload balancing host First published in XenServer 5.5.


wlbUsername

public java.lang.String wlbUsername
Username for accessing the workload balancing host First published in XenServer 5.5.


wlbEnabled

public java.lang.Boolean wlbEnabled
true if workload balancing is enabled on the pool, false otherwise First published in XenServer 5.5.


wlbVerifyCert

public java.lang.Boolean wlbVerifyCert
true if communication with the WLB server should enforce SSL certificate verification. First published in XenServer 5.5.


redoLogEnabled

public java.lang.Boolean redoLogEnabled
true a redo-log is to be used other than when HA is enabled, false otherwise First published in XenServer 5.6.


redoLogVdi

public VDI redoLogVdi
indicates the VDI to use for the redo-log other than when HA is enabled First published in XenServer 5.6.


vswitchController

public java.lang.String vswitchController
address of the vswitch controller First published in XenServer 5.6.


restrictions

public java.util.Map<java.lang.String,java.lang.String> restrictions
Pool-wide restrictions currently in effect First published in XenServer 5.6.


metadataVDIs

public java.util.Set<VDI> metadataVDIs
The set of currently known metadata VDIs for this pool First published in XenServer 6.0.

Constructor Detail

Pool.Record

public Pool.Record()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toMap

public java.util.Map<java.lang.String,java.lang.Object> toMap()
Convert a pool.Record to a Map

Specified by:
toMap in interface Types.Record