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
 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
 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
 java.lang.Boolean haEnabled
          true if HA is enabled on the pool, false otherwise
 java.lang.Long haHostFailuresToTolerate
          Number of host failures to tolerate before the Pool is declared to be overcommitted
 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
 Host master
          The host that is pool master
 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
 VDI redoLogVdi
          indicates the VDI to use for the redo-log other than when HA is enabled
 java.util.Map<java.lang.String,java.lang.String> restrictions
          Pool-wide restrictions currently in effect
 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
 java.lang.String uuid
          Unique identifier/object reference
 java.lang.String vswitchController
          address of the vswitch controller
 java.lang.Boolean wlbEnabled
          true if workload balancing is enabled on the pool, false otherwise
 java.lang.String wlbUrl
          Url for the configured workload balancing host
 java.lang.String wlbUsername
          Username for accessing the workload balancing host
 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


haConfiguration

public java.util.Map<java.lang.String,java.lang.String> haConfiguration
The current HA configuration


haStatefiles

public java.util.Set<java.lang.String> haStatefiles
HA statefile VDIs in use


haHostFailuresToTolerate

public java.lang.Long haHostFailuresToTolerate
Number of host failures to tolerate before the Pool is declared to be overcommitted


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.


haAllowOvercommit

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


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


blobs

public java.util.Map<java.lang.String,Blob> blobs
Binary blobs associated with this pool


tags

public java.util.Set<java.lang.String> tags
user-specified tags for categorization purposes


guiConfig

public java.util.Map<java.lang.String,java.lang.String> guiConfig
gui-specific configuration for pool


wlbUrl

public java.lang.String wlbUrl
Url for the configured workload balancing host


wlbUsername

public java.lang.String wlbUsername
Username for accessing the workload balancing host


wlbEnabled

public java.lang.Boolean wlbEnabled
true if workload balancing is enabled on the pool, false otherwise


wlbVerifyCert

public java.lang.Boolean wlbVerifyCert
true if communication with the WLB server should enforce SSL certificate verification.


redoLogEnabled

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


redoLogVdi

public VDI redoLogVdi
indicates the VDI to use for the redo-log other than when HA is enabled


vswitchController

public java.lang.String vswitchController
address of the vswitch controller


restrictions

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

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