-
string
uuid
unique identifier/object reference
-
string
name_label
Short name
-
string
name_description
Description
-
host
master
The host that is pool master
-
SR
default_SR
Default SR for VDIs
-
SR
suspend_image_SR
The SR in which VDIs for suspend images are created
-
SR
crash_dump_SR
The SR in which VDIs for crash dumps are created
-
Map[string,string]
other_config
additional configuration
-
Record[pool]
get_record
(session session_id, pool self)
Get a record containing the current state of the given pool.
-
pool
get_by_uuid
(session session_id, string uuid)
Get a reference to the pool instance with the specified UUID.
-
Set[pool]
get_all
(session session_id)
Return a list of all the pools known to the system.
-
Map[pool,Record[pool]]
get_all_records
(session session_id)
Return a map of pool references to pool records for all pools known to the system.
-
void
join
(session session_id, string master_address, string master_username, string master_password)
Instruct host to join a new pool
-
void
join_force
(session session_id, string master_address, string master_username, string master_password)
Instruct host to join a new pool
-
void
eject
(session session_id, host host)
Instruct a pool master to eject a host from the pool
-
void
emergency_transition_to_master
()
Instruct host that's currently a slave to transition to being master
-
void
emergency_reset_master
(string master_address)
Instruct a slave already in a pool that the master has changed
-
Set[host]
recover_slaves
(session session_id)
Instruct a pool master, M, to try and contact its slaves and, if slaves are in emergency mode, reset their master address to M.
-
Set[PIF]
create_VLAN
(session session_id, string device, network network, int VLAN)
Create PIFs, mapping a network to the same physical interface/VLAN on each host