2.7.
CLASS: POOL
CHAPTER 2.
API REFERENCE
2.7
Class: pool
2.7.1
Fields for class: pool
Name
pool
Description
Pool-wide information.
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RW
name label
string
Short name
RW
name description
string
Description
RO
run
master
host ref
The host that is pool master
RW
default SR
SR ref
Default SR for VDIs
RW
suspend image SR
SR ref
The SR in which VDIs for suspend
images are created
RW
crash dump SR
SR ref
The SR in which VDIs for crash
dumps are created
RW
other config
(string
→
string) Map
additional configuration
2.7.2
RPCs associated with class: pool
RPC name: join
Overview:
Instruct host to join a new pool.
Signature:
void join (session_id s, string master_address, string master_username, string master_password)
Arguments:
type
name
description
string
master address
The hostname of the master of the pool to join
string
master username
The username of the master (for initial au-
thentication)
string
master password
The password for the master (for initial au-
thentication)
Return Type:
void
Possible Error Codes:
JOINING HOST CANNOT CONTAIN SHARED SRS
RPC name: join force
Overview:
Instruct host to join a new pool.
Signature:
void join_force (session_id s, string master_address, string master_username, string master_password)
Arguments:
type
name
description
string
master address
The hostname of the master of the pool to join
string
master username
The username of the master (for initial au-
thentication)
string
master password
The password for the master (for initial au-
thentication)
37