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 Object
implements Types.Record

Represents all the fields in a Pool


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

Field Detail

uuid

public String uuid
Unique identifier/object reference


nameLabel

public String nameLabel
Short name


nameDescription

public 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 Map<String,String> otherConfig
additional configuration


haEnabled

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


haConfiguration

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


haStatefiles

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


haHostFailuresToTolerate

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


haPlanExistsFor

public 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 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 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 Map<String,Blob> blobs
Binary blobs associated with this pool First published in XenServer 5.0.


tags

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


guiConfig

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


wlbUrl

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


wlbUsername

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


wlbEnabled

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


wlbVerifyCert

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


redoLogEnabled

public 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 String vswitchController
address of the vswitch controller First published in XenServer 5.6.


restrictions

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


metadataVDIs

public 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 String toString()
Overrides:
toString in class Object

toMap

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

Specified by:
toMap in interface Types.Record