Class: pool
Pool-wide information
Fields for class: pool
Field | Type | Qualifier | Description |
---|---|---|---|
allowed_operations |
pool_allowed_operations set |
RO/runtime | list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client. |
blobs |
(string -> blob ref) map |
RO/runtime | Binary blobs associated with this pool |
client_certificate_auth_enabled |
bool |
RO/runtime | True if authentication by TLS client certificates is enabled |
client_certificate_auth_name |
string |
RO/runtime | The name (CN/SAN) that an incoming client certificate must have to allow authentication |
coordinator_bias |
bool |
RW | true if bias against pool master when scheduling vms is enabled, false otherwise |
cpu_info |
(string -> string) map |
RO/runtime | Details about the physical CPUs on the pool |
crash_dump_SR |
SR ref |
RW | The SR in which VDIs for crash dumps are created |
current_operations |
(string -> pool_allowed_operations) map |
RO/runtime | links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task. |
custom_uefi_certificates |
string |
RO/constructor | Custom UEFI certificates allowing Secure Boot |
default_SR |
SR ref |
RW | Default SR for VDIs |
ext_auth_cache_enabled |
bool |
RO/runtime | Specifies whether external authentication caching is enabled for this pool or not |
ext_auth_cache_expiry |
int |
RO/runtime | Specifies how long external authentication entries should be cached for (seconds) |
ext_auth_cache_size |
int |
RO/runtime | Maximum capacity of external authentication cache |
ext_auth_max_threads |
int |
RO/constructor | Maximum number of threads to use for external (AD) authentication |
guest_agent_config |
(string -> string) map |
RO/runtime | Pool-wide guest agent configuration information |
gui_config |
(string -> string) map |
RW | gui-specific configuration for pool |
ha_allow_overcommit |
bool |
RW | If set to false then operations which would cause the Pool to become overcommitted will be blocked. |
ha_cluster_stack |
string |
RO/runtime | The HA cluster stack that is currently in use. Only valid when HA is enabled. |
ha_configuration |
(string -> string) map |
RO/runtime | The current HA configuration |
ha_enabled |
bool |
RO/runtime | true if HA is enabled on the pool, false otherwise |
ha_host_failures_to_tolerate |
int |
RO/runtime | Number of host failures to tolerate before the Pool is declared to be overcommitted |
ha_overcommitted |
bool |
RO/runtime | 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 |
ha_plan_exists_for |
int |
RO/runtime | 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. |
ha_statefiles |
string set |
RO/runtime | HA statefile VDIs in use |
health_check_config |
(string -> string) map |
RW | Configuration for the automatic health check feature |
igmp_snooping_enabled |
bool |
RO/runtime | true if IGMP snooping is enabled in the pool, false otherwise. |
is_psr_pending |
bool |
RW | True if either a PSR is running or we are waiting for a PSR to be re-run |
last_update_sync |
datetime |
RO/runtime | time of the last update sychronization |
live_patching_disabled |
bool |
RW | The pool-wide flag to show if the live patching feauture is disabled or not. |
local_auth_max_threads |
int |
RO/constructor | Maximum number of threads to use for PAM authentication |
master |
host ref |
RO/runtime | The host that is pool master |
metadata_VDIs |
VDI ref set |
RO/runtime | The set of currently known metadata VDIs for this pool |
migration_compression |
bool |
RW | Default behaviour during migration, True if stream compression should be used |
name_description |
string |
RW | Description |
name_label |
string |
RW | Short name |
other_config |
(string -> string) map |
RW | additional configuration |
policy_no_vendor_device |
bool |
RW | Deprecated. This field was consulted when VM.create did not specify a value for ‘has_vendor_device’; VM.create now uses a simple default and no longer consults this value. |
recommendations |
(string -> string) map |
RO/runtime | The recommended pool properties for clients to respect for optimal performance. e.g. max-vm-group=5 |
redo_log_enabled |
bool |
RO/runtime | true a redo-log is to be used other than when HA is enabled, false otherwise |
redo_log_vdi |
VDI ref |
RO/runtime | indicates the VDI to use for the redo-log other than when HA is enabled |
repositories |
Repository ref set |
RO/runtime | The set of currently enabled repositories |
repository_proxy_password |
secret ref |
RO/runtime | Password for the authentication of the proxy used in syncing with the enabled repositories |
repository_proxy_url |
string |
RO/runtime | Url of the proxy used in syncing with the enabled repositories |
repository_proxy_username |
string |
RO/runtime | Username for the authentication of the proxy used in syncing with the enabled repositories |
restrictions |
(string -> string) map |
RO/runtime | Pool-wide restrictions currently in effect |
suspend_image_SR |
SR ref |
RW | The SR in which VDIs for suspend images are created |
tags |
string set |
RW | user-specified tags for categorization purposes |
telemetry_frequency |
telemetry_frequency |
RO/runtime | How often the telemetry collection will be carried out |
telemetry_next_collection |
datetime |
RO/runtime | The earliest timestamp (in UTC) when the next round of telemetry collection can be carried out |
telemetry_uuid |
secret ref |
RO/runtime | The UUID of the pool for identification of telemetry data |
tls_verification_enabled |
bool |
RO/runtime | True iff TLS certificate verification is enabled |
uefi_certificates |
string |
RO/constructor | The UEFI certificates allowing Secure Boot |
update_sync_day |
int |
RO/runtime | The day of the week the update synchronizations will be scheduled, based on pool’s local timezone. Ignored when update_sync_frequency is daily |
update_sync_enabled |
bool |
RO/runtime | Whether periodic update synchronization is enabled or not |
update_sync_frequency |
update_sync_frequency |
RO/runtime | The frequency at which updates are synchronized from a remote CDN: daily or weekly. |
uuid |
string |
RO/runtime | Unique identifier/object reference |
vswitch_controller |
string |
RO/runtime | Deprecated. address of the vswitch controller |
wlb_enabled |
bool |
RW | true if workload balancing is enabled on the pool, false otherwise |
wlb_url |
string |
RO/runtime | Url for the configured workload balancing host |
wlb_username |
string |
RO/runtime | Username for accessing the workload balancing host |
wlb_verify_cert |
bool |
RW | Deprecated. true if communication with the WLB server should enforce TLS certificate verification. |
RPCs associated with class: pool
RPC name: add_repository
Overview:
Add a repository to the enabled set
Signature:
void add_repository (session ref session_ref, pool ref self, Repository ref value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
Repository ref |
value |
The repository to be added to the enabled set |
Minimum Role: client-cert
Return Type: void
RPC name: add_tags
Overview:
Add the given value to the tags field of the given pool. If the value is already in that Set, then do nothing.
Signature:
void add_tags (session ref session_ref, pool ref self, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
value |
New value to add |
Minimum Role: vm-operator
Return Type: void
RPC name: add_to_guest_agent_config
Overview:
Add a key-value pair to the pool-wide guest agent configuration
Signature:
void add_to_guest_agent_config (session ref session_ref, pool ref self, string key, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
string |
key |
The key to add |
string |
value |
The value to add |
Minimum Role: pool-admin
Return Type: void
RPC name: add_to_gui_config
Overview:
Add the given key-value pair to the gui_config field of the given pool.
Signature:
void add_to_gui_config (session ref session_ref, pool ref self, string key, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
key |
Key to add |
string |
value |
Value to add |
Minimum Role: vm-operator
Return Type: void
RPC name: add_to_health_check_config
Overview:
Add the given key-value pair to the health_check_config field of the given pool.
Signature:
void add_to_health_check_config (session ref session_ref, pool ref self, string key, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
key |
Key to add |
string |
value |
Value to add |
Minimum Role: pool-operator
Return Type: void
RPC name: add_to_other_config
Overview:
Add the given key-value pair to the other_config field of the given pool.
Signature:
void add_to_other_config (session ref session_ref, pool ref self, string key, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
key |
Key to add |
string |
value |
Value to add |
Minimum Role: pool-operator
Return Type: void
RPC name: apply_edition
Overview:
Apply an edition to all hosts in the pool
Signature:
void apply_edition (session ref session_ref, pool ref self, string edition)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
Reference to the pool |
string |
edition |
The requested edition |
Minimum Role: pool-operator
Return Type: void
RPC name: certificate_install
This message is deprecated.
Overview:
Install a TLS CA certificate, pool-wide.
Signature:
void certificate_install (session ref session_ref, string name, string cert)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
name |
A name to give the certificate |
string |
cert |
The certificate in PEM format |
Minimum Role: pool-operator
Return Type: void
RPC name: certificate_list
This message is deprecated.
Overview:
List the names of all installed TLS CA certificates.
Signature:
string set certificate_list (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: string set
All installed certificates
RPC name: certificate_sync
Overview:
Copy the TLS CA certificates and CRLs of the master to all slaves.
Signature:
void certificate_sync (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: void
RPC name: certificate_uninstall
This message is deprecated.
Overview:
Remove a pool-wide TLS CA certificate.
Signature:
void certificate_uninstall (session ref session_ref, string name)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
name |
The certificate name |
Minimum Role: pool-operator
Return Type: void
RPC name: check_update_readiness
Overview:
Check if the pool is ready to be updated. If not, report the reasons.
Signature:
string set set check_update_readiness (session ref session_ref, pool ref self, bool requires_reboot)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
bool |
requires_reboot |
Assume that the update will require host reboots |
Minimum Role: client-cert
Return Type: string set set
A set of error codes with arguments, if the pool is not ready to update. An empty list means the pool can be updated.
RPC name: configure_repository_proxy
Overview:
Configure proxy for RPM package repositories.
Signature:
void configure_repository_proxy (session ref session_ref, pool ref self, string url, string username, string password)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
string |
url |
The URL of the proxy server |
string |
username |
The username used to authenticate with the proxy server |
string |
password |
The password used to authenticate with the proxy server |
Minimum Role: client-cert
Return Type: void
RPC name: configure_update_sync
Overview:
Configure periodic update synchronization to synchronize updates from a remote CDN
Signature:
void configure_update_sync (session ref session_ref, pool ref self, update_sync_frequency update_sync_frequency, int update_sync_day)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
update_sync_frequency |
update_sync_frequency |
The frequency at which updates are synchronized from a remote CDN: daily or weekly. |
int |
update_sync_day |
The day of the week the update synchronization will happen, based on pool’s local timezone. Valid values are 0 to 6, 0 being Sunday. For ‘daily’ schedule, the value is ignored. |
Minimum Role: pool-operator
Return Type: void
RPC name: create_new_blob
Overview:
Create a placeholder for a named binary blob of data that is associated with this pool
Signature:
blob ref create_new_blob (session ref session_ref, pool ref pool, string name, string mime_type, bool public)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
pool |
The pool |
string |
name |
The name associated with the blob |
string |
mime_type |
The mime type for the data. Empty string translates to application/octet-stream |
bool |
public |
True if the blob should be publicly available |
Minimum Role: pool-operator
Return Type: blob ref
The reference of the blob, needed for populating its data
RPC name: create_VLAN
Overview:
Create PIFs, mapping a network to the same physical interface/VLAN on each host. This call is deprecated: use Pool.create_VLAN_from_PIF instead.
Signature:
PIF ref set create_VLAN (session ref session_ref, string device, network ref network, int VLAN)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
device |
physical interface on which to create the VLAN interface |
network ref |
network |
network to which this interface should be connected |
int |
VLAN |
VLAN tag for the new interface |
Minimum Role: pool-operator
Return Type: PIF ref set
The references of the created PIF objects
Possible Error Codes: VLAN_TAG_INVALID
RPC name: create_VLAN_from_PIF
Overview:
Create a pool-wide VLAN by taking the PIF.
Signature:
PIF ref set create_VLAN_from_PIF (session ref session_ref, PIF ref pif, network ref network, int VLAN)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
PIF ref |
pif |
physical interface on any particular host, that identifies the PIF on which to create the (pool-wide) VLAN interface |
network ref |
network |
network to which this interface should be connected |
int |
VLAN |
VLAN tag for the new interface |
Minimum Role: pool-operator
Return Type: PIF ref set
The references of the created PIF objects
Possible Error Codes: VLAN_TAG_INVALID
RPC name: crl_install
Overview:
Install a TLS CA-issued Certificate Revocation List, pool-wide.
Signature:
void crl_install (session ref session_ref, string name, string cert)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
name |
A name to give the CRL |
string |
cert |
The CRL |
Minimum Role: pool-operator
Return Type: void
RPC name: crl_list
Overview:
List the names of all installed TLS CA-issued Certificate Revocation Lists.
Signature:
string set crl_list (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: string set
The names of all installed CRLs
RPC name: crl_uninstall
Overview:
Remove a pool-wide TLS CA-issued Certificate Revocation List.
Signature:
void crl_uninstall (session ref session_ref, string name)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
name |
The CRL name |
Minimum Role: pool-operator
Return Type: void
RPC name: deconfigure_wlb
Overview:
Permanently deconfigures workload balancing monitoring on this pool
Signature:
void deconfigure_wlb (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: void
RPC name: designate_new_master
Overview:
Perform an orderly handover of the role of master to the referenced host.
Signature:
void designate_new_master (session ref session_ref, host ref host)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
host ref |
host |
The host who should become the new master |
Minimum Role: pool-operator
Return Type: void
RPC name: detect_nonhomogeneous_external_auth
Overview:
This call asynchronously detects if the external authentication configuration in any slave is different from that in the master and raises appropriate alerts
Signature:
void detect_nonhomogeneous_external_auth (session ref session_ref, pool ref pool)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
pool |
The pool where to detect non-homogeneous external authentication configuration |
Minimum Role: pool-operator
Return Type: void
RPC name: disable_client_certificate_auth
Overview:
Disable client certificate authentication on the pool
Signature:
void disable_client_certificate_auth (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
Minimum Role: client-cert
Return Type: void
RPC name: disable_external_auth
Overview:
This call disables external authentication on all the hosts of the pool
Signature:
void disable_external_auth (session ref session_ref, pool ref pool, (string -> string) map config)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
pool |
The pool whose external authentication should be disabled |
(string -> string) map |
config |
Optional parameters as a list of key-values containing the configuration data |
Minimum Role: pool-admin
Return Type: void
RPC name: disable_ha
Overview:
Turn off High Availability mode
Signature:
void disable_ha (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: client-cert
Return Type: void
RPC name: disable_local_storage_caching
Overview:
This call disables pool-wide local storage caching
Signature:
void disable_local_storage_caching (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
Reference to the pool |
Minimum Role: pool-operator
Return Type: void
RPC name: disable_redo_log
Overview:
Disable the redo log if in use, unless HA is enabled.
Signature:
void disable_redo_log (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: void
RPC name: disable_repository_proxy
Overview:
Disable the proxy for RPM package repositories.
Signature:
void disable_repository_proxy (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
Minimum Role: client-cert
Return Type: void
RPC name: disable_ssl_legacy
This message is deprecated.
Overview:
Sets ssl_legacy false on each host, pool-master last. See Host.ssl_legacy and Host.set_ssl_legacy.
Signature:
void disable_ssl_legacy (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
(ignored) |
Minimum Role: pool-operator
Return Type: void
RPC name: eject
Overview:
Instruct a pool master to eject a host from the pool
Signature:
void eject (session ref session_ref, host ref host)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
host ref |
host |
The host to eject |
Minimum Role: pool-operator
Return Type: void
RPC name: emergency_reset_master
Overview:
Instruct a slave already in a pool that the master has changed
Signature:
void emergency_reset_master (session ref session_ref, string master_address)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
master_address |
The hostname of the master |
Minimum Role: pool-operator
Return Type: void
RPC name: emergency_transition_to_master
Overview:
Instruct host that’s currently a slave to transition to being master
Signature:
void emergency_transition_to_master (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: void
RPC name: enable_client_certificate_auth
Overview:
Enable client certificate authentication on the pool
Signature:
void enable_client_certificate_auth (session ref session_ref, pool ref self, string name)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
string |
name |
The name (CN/SAN) that an incoming client certificate must have to allow authentication |
Minimum Role: client-cert
Return Type: void
RPC name: enable_external_auth
Overview:
This call enables external authentication on all the hosts of the pool
Signature:
void enable_external_auth (session ref session_ref, pool ref pool, (string -> string) map config, string service_name, string auth_type)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
pool |
The pool whose external authentication should be enabled |
(string -> string) map |
config |
A list of key-values containing the configuration data |
string |
service_name |
The name of the service |
string |
auth_type |
The type of authentication (e.g. AD for Active Directory) |
Minimum Role: pool-admin
Return Type: void
RPC name: enable_ha
Overview:
Turn on High Availability mode
Signature:
void enable_ha (session ref session_ref, SR ref set heartbeat_srs, (string -> string) map configuration)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
SR ref set |
heartbeat_srs |
Set of SRs to use for storage heartbeating |
(string -> string) map |
configuration |
Detailed HA configuration to apply |
Minimum Role: client-cert
Return Type: void
RPC name: enable_local_storage_caching
Overview:
This call attempts to enable pool-wide local storage caching
Signature:
void enable_local_storage_caching (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
Reference to the pool |
Minimum Role: pool-operator
Return Type: void
RPC name: enable_redo_log
Overview:
Enable the redo log on the given SR and start using it, unless HA is enabled.
Signature:
void enable_redo_log (session ref session_ref, SR ref sr)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
SR ref |
sr |
SR to hold the redo log. |
Minimum Role: pool-operator
Return Type: void
RPC name: enable_ssl_legacy
This message is removed.
Overview:
Sets ssl_legacy true on each host, pool-master last. See Host.ssl_legacy and Host.set_ssl_legacy.
Signature:
void enable_ssl_legacy (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
(ignored) |
Minimum Role: pool-operator
Return Type: void
RPC name: enable_tls_verification
Overview:
Enable TLS server certificate verification
Signature:
void enable_tls_verification (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-admin
Return Type: void
RPC name: get_all
Overview:
Return a list of all the pools known to the system.
Signature:
pool ref set get_all (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: read-only
Return Type: pool ref set
references to all objects
RPC name: get_all_records
Overview:
Return a map of pool references to pool records for all pools known to the system.
Signature:
(pool ref -> pool record) map get_all_records (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: read-only
Return Type: (pool ref -> pool record) map
records of all objects
RPC name: get_allowed_operations
Overview:
Get the allowed_operations field of the given pool.
Signature:
pool_allowed_operations set get_allowed_operations (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: pool_allowed_operations set
value of the field
RPC name: get_blobs
Overview:
Get the blobs field of the given pool.
Signature:
(string -> blob ref) map get_blobs (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> blob ref) map
value of the field
RPC name: get_by_uuid
Overview:
Get a reference to the pool instance with the specified UUID.
Signature:
pool ref get_by_uuid (session ref session_ref, string uuid)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
uuid |
UUID of object to return |
Minimum Role: read-only
Return Type: pool ref
reference to the object
RPC name: get_client_certificate_auth_enabled
Overview:
Get the client_certificate_auth_enabled field of the given pool.
Signature:
bool get_client_certificate_auth_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_client_certificate_auth_name
Overview:
Get the client_certificate_auth_name field of the given pool.
Signature:
string get_client_certificate_auth_name (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_coordinator_bias
Overview:
Get the coordinator_bias field of the given pool.
Signature:
bool get_coordinator_bias (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_cpu_info
Overview:
Get the cpu_info field of the given pool.
Signature:
(string -> string) map get_cpu_info (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_crash_dump_SR
Overview:
Get the crash_dump_SR field of the given pool.
Signature:
SR ref get_crash_dump_SR (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: SR ref
value of the field
RPC name: get_current_operations
Overview:
Get the current_operations field of the given pool.
Signature:
(string -> pool_allowed_operations) map get_current_operations (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> pool_allowed_operations) map
value of the field
RPC name: get_custom_uefi_certificates
Overview:
Get the custom_uefi_certificates field of the given pool.
Signature:
string get_custom_uefi_certificates (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_default_SR
Overview:
Get the default_SR field of the given pool.
Signature:
SR ref get_default_SR (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: SR ref
value of the field
RPC name: get_ext_auth_cache_enabled
Overview:
Get the ext_auth_cache_enabled field of the given pool.
Signature:
bool get_ext_auth_cache_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_ext_auth_cache_expiry
Overview:
Get the ext_auth_cache_expiry field of the given pool.
Signature:
int get_ext_auth_cache_expiry (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_ext_auth_cache_size
Overview:
Get the ext_auth_cache_size field of the given pool.
Signature:
int get_ext_auth_cache_size (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_ext_auth_max_threads
Overview:
Get the ext_auth_max_threads field of the given pool.
Signature:
int get_ext_auth_max_threads (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_guest_agent_config
Overview:
Get the guest_agent_config field of the given pool.
Signature:
(string -> string) map get_guest_agent_config (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_guest_secureboot_readiness
Overview:
Signature:
pool_guest_secureboot_readiness get_guest_secureboot_readiness (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
Minimum Role: pool-operator
Return Type: pool_guest_secureboot_readiness
The readiness of the pool
RPC name: get_gui_config
Overview:
Get the gui_config field of the given pool.
Signature:
(string -> string) map get_gui_config (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_ha_allow_overcommit
Overview:
Get the ha_allow_overcommit field of the given pool.
Signature:
bool get_ha_allow_overcommit (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_ha_cluster_stack
Overview:
Get the ha_cluster_stack field of the given pool.
Signature:
string get_ha_cluster_stack (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_ha_configuration
Overview:
Get the ha_configuration field of the given pool.
Signature:
(string -> string) map get_ha_configuration (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_ha_enabled
Overview:
Get the ha_enabled field of the given pool.
Signature:
bool get_ha_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_ha_host_failures_to_tolerate
Overview:
Get the ha_host_failures_to_tolerate field of the given pool.
Signature:
int get_ha_host_failures_to_tolerate (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_ha_overcommitted
Overview:
Get the ha_overcommitted field of the given pool.
Signature:
bool get_ha_overcommitted (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_ha_plan_exists_for
Overview:
Get the ha_plan_exists_for field of the given pool.
Signature:
int get_ha_plan_exists_for (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_ha_statefiles
Overview:
Get the ha_statefiles field of the given pool.
Signature:
string set get_ha_statefiles (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string set
value of the field
RPC name: get_health_check_config
Overview:
Get the health_check_config field of the given pool.
Signature:
(string -> string) map get_health_check_config (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_igmp_snooping_enabled
Overview:
Get the igmp_snooping_enabled field of the given pool.
Signature:
bool get_igmp_snooping_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_is_psr_pending
Overview:
Get the is_psr_pending field of the given pool.
Signature:
bool get_is_psr_pending (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_last_update_sync
Overview:
Get the last_update_sync field of the given pool.
Signature:
datetime get_last_update_sync (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: datetime
value of the field
RPC name: get_license_state
Overview:
This call returns the license state for the pool
Signature:
(string -> string) map get_license_state (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
Reference to the pool |
Minimum Role: read-only
Return Type: (string -> string) map
The pool’s license state
RPC name: get_live_patching_disabled
Overview:
Get the live_patching_disabled field of the given pool.
Signature:
bool get_live_patching_disabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_local_auth_max_threads
Overview:
Get the local_auth_max_threads field of the given pool.
Signature:
int get_local_auth_max_threads (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_master
Overview:
Get the master field of the given pool.
Signature:
host ref get_master (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: host ref
value of the field
RPC name: get_metadata_VDIs
Overview:
Get the metadata_VDIs field of the given pool.
Signature:
VDI ref set get_metadata_VDIs (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: VDI ref set
value of the field
RPC name: get_migration_compression
Overview:
Get the migration_compression field of the given pool.
Signature:
bool get_migration_compression (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_name_description
Overview:
Get the name_description field of the given pool.
Signature:
string get_name_description (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_name_label
Overview:
Get the name_label field of the given pool.
Signature:
string get_name_label (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_other_config
Overview:
Get the other_config field of the given pool.
Signature:
(string -> string) map get_other_config (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_policy_no_vendor_device
This message is deprecated.
Overview:
Get the policy_no_vendor_device field of the given pool.
Signature:
bool get_policy_no_vendor_device (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_recommendations
Overview:
Get the recommendations field of the given pool.
Signature:
(string -> string) map get_recommendations (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_record
Overview:
Get a record containing the current state of the given pool.
Signature:
pool record get_record (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: pool record
all fields from the object
RPC name: get_redo_log_enabled
Overview:
Get the redo_log_enabled field of the given pool.
Signature:
bool get_redo_log_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_redo_log_vdi
Overview:
Get the redo_log_vdi field of the given pool.
Signature:
VDI ref get_redo_log_vdi (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: VDI ref
value of the field
RPC name: get_repositories
Overview:
Get the repositories field of the given pool.
Signature:
Repository ref set get_repositories (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: Repository ref set
value of the field
RPC name: get_repository_proxy_password
Overview:
Get the repository_proxy_password field of the given pool.
Signature:
secret ref get_repository_proxy_password (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: secret ref
value of the field
RPC name: get_repository_proxy_url
Overview:
Get the repository_proxy_url field of the given pool.
Signature:
string get_repository_proxy_url (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_repository_proxy_username
Overview:
Get the repository_proxy_username field of the given pool.
Signature:
string get_repository_proxy_username (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_restrictions
Overview:
Get the restrictions field of the given pool.
Signature:
(string -> string) map get_restrictions (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: (string -> string) map
value of the field
RPC name: get_suspend_image_SR
Overview:
Get the suspend_image_SR field of the given pool.
Signature:
SR ref get_suspend_image_SR (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: SR ref
value of the field
RPC name: get_tags
Overview:
Get the tags field of the given pool.
Signature:
string set get_tags (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string set
value of the field
RPC name: get_telemetry_frequency
Overview:
Get the telemetry_frequency field of the given pool.
Signature:
telemetry_frequency get_telemetry_frequency (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: telemetry_frequency
value of the field
RPC name: get_telemetry_next_collection
Overview:
Get the telemetry_next_collection field of the given pool.
Signature:
datetime get_telemetry_next_collection (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: datetime
value of the field
RPC name: get_telemetry_uuid
Overview:
Get the telemetry_uuid field of the given pool.
Signature:
secret ref get_telemetry_uuid (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: secret ref
value of the field
RPC name: get_tls_verification_enabled
Overview:
Get the tls_verification_enabled field of the given pool.
Signature:
bool get_tls_verification_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_uefi_certificates
Overview:
Get the uefi_certificates field of the given pool.
Signature:
string get_uefi_certificates (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_update_sync_day
Overview:
Get the update_sync_day field of the given pool.
Signature:
int get_update_sync_day (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_update_sync_enabled
Overview:
Get the update_sync_enabled field of the given pool.
Signature:
bool get_update_sync_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_update_sync_frequency
Overview:
Get the update_sync_frequency field of the given pool.
Signature:
update_sync_frequency get_update_sync_frequency (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: update_sync_frequency
value of the field
RPC name: get_uuid
Overview:
Get the uuid field of the given pool.
Signature:
string get_uuid (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_vswitch_controller
This message is deprecated.
Overview:
Get the vswitch_controller field of the given pool.
Signature:
string get_vswitch_controller (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_wlb_enabled
Overview:
Get the wlb_enabled field of the given pool.
Signature:
bool get_wlb_enabled (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: get_wlb_url
Overview:
Get the wlb_url field of the given pool.
Signature:
string get_wlb_url (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_wlb_username
Overview:
Get the wlb_username field of the given pool.
Signature:
string get_wlb_username (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_wlb_verify_cert
This message is deprecated.
Overview:
Get the wlb_verify_cert field of the given pool.
Signature:
bool get_wlb_verify_cert (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: bool
value of the field
RPC name: ha_compute_hypothetical_max_host_failures_to_tolerate
Overview:
Returns the maximum number of host failures we could tolerate before we would be unable to restart the provided VMs
Signature:
int ha_compute_hypothetical_max_host_failures_to_tolerate (session ref session_ref, (VM ref -> string) map configuration)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
(VM ref -> string) map |
configuration |
Map of protected VM reference to restart priority |
Minimum Role: read-only
Return Type: int
maximum value for ha_host_failures_to_tolerate given provided configuration
RPC name: ha_compute_max_host_failures_to_tolerate
Overview:
Returns the maximum number of host failures we could tolerate before we would be unable to restart configured VMs
Signature:
int ha_compute_max_host_failures_to_tolerate (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: int
maximum value for ha_host_failures_to_tolerate given current configuration
RPC name: ha_compute_vm_failover_plan
Overview:
Return a VM failover plan assuming a given subset of hosts fail
Signature:
(VM ref -> (string -> string) map) map ha_compute_vm_failover_plan (session ref session_ref, host ref set failed_hosts, VM ref set failed_vms)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
host ref set |
failed_hosts |
The set of hosts to assume have failed |
VM ref set |
failed_vms |
The set of VMs to restart |
Minimum Role: pool-operator
Return Type: (VM ref -> (string -> string) map) map
VM failover plan: a map of VM to host to restart the host on
RPC name: ha_failover_plan_exists
Overview:
Returns true if a VM failover plan exists for up to ‘n’ host failures
Signature:
bool ha_failover_plan_exists (session ref session_ref, int n)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
int |
n |
The number of host failures to plan for |
Minimum Role: pool-operator
Return Type: bool
true if a failover plan exists for the supplied number of host failures
RPC name: ha_prevent_restarts_for
Overview:
When this call returns the VM restart logic will not run for the requested number of seconds. If the argument is zero then the restart thread is immediately unblocked
Signature:
void ha_prevent_restarts_for (session ref session_ref, int seconds)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
int |
seconds |
The number of seconds to block the restart thread for |
Minimum Role: pool-operator
Return Type: void
RPC name: has_extension
Overview:
Return true if the extension is available on the pool
Signature:
bool has_extension (session ref session_ref, pool ref self, string name)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
string |
name |
The name of the API call |
Minimum Role: pool-admin
Return Type: bool
True if the extension exists, false otherwise
RPC name: initialize_wlb
Overview:
Initializes workload balancing monitoring on this pool with the specified wlb server
Signature:
void initialize_wlb (session ref session_ref, string wlb_url, string wlb_username, string wlb_password, string xenserver_username, string xenserver_password)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
wlb_url |
The ip address and port to use when accessing the wlb server |
string |
wlb_username |
The username used to authenticate with the wlb server |
string |
wlb_password |
The password used to authenticate with the wlb server |
string |
xenserver_username |
The username used by the wlb server to authenticate with the xenserver |
string |
xenserver_password |
The password used by the wlb server to authenticate with the xenserver |
Minimum Role: pool-operator
Return Type: void
RPC name: install_ca_certificate
Overview:
Install a TLS CA certificate, pool-wide.
Signature:
void install_ca_certificate (session ref session_ref, string name, string cert)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
name |
A name to give the certificate |
string |
cert |
The certificate in PEM format |
Minimum Role: client-cert
Return Type: void
RPC name: join
Overview:
Instruct host to join a new pool
Signature:
void join (session ref session_ref, string master_address, string master_username, string master_password)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
master_address |
The hostname of the master of the pool to join |
string |
master_username |
The username of the master (for initial authentication) |
string |
master_password |
The password for the master (for initial authentication) |
Minimum Role: pool-operator
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 ref session_ref, string master_address, string master_username, string master_password)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
master_address |
The hostname of the master of the pool to join |
string |
master_username |
The username of the master (for initial authentication) |
string |
master_password |
The password for the master (for initial authentication) |
Minimum Role: pool-operator
Return Type: void
RPC name: management_reconfigure
Overview:
Reconfigure the management network interface for all Hosts in the Pool
Signature:
void management_reconfigure (session ref session_ref, network ref network)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
network ref |
network |
The network |
Minimum Role: pool-operator
Return Type: void
Possible Error Codes: HA_IS_ENABLED
, PIF_NOT_PRESENT
, CANNOT_PLUG_BOND_SLAVE
, PIF_INCOMPATIBLE_PRIMARY_ADDRESS_TYPE
, PIF_HAS_NO_NETWORK_CONFIGURATION
, PIF_HAS_NO_V6_NETWORK_CONFIGURATION
RPC name: recover_slaves
Overview:
Instruct a pool master, M, to try and contact its slaves and, if slaves are in emergency mode, reset their master address to M.
Signature:
host ref set recover_slaves (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: host ref set
list of hosts whose master address were successfully reset
RPC name: remove_from_guest_agent_config
Overview:
Remove a key-value pair from the pool-wide guest agent configuration
Signature:
void remove_from_guest_agent_config (session ref session_ref, pool ref self, string key)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
string |
key |
The key to remove |
Minimum Role: pool-admin
Return Type: void
RPC name: remove_from_gui_config
Overview:
Remove the given key and its corresponding value from the gui_config field of the given pool. If the key is not in that Map, then do nothing.
Signature:
void remove_from_gui_config (session ref session_ref, pool ref self, string key)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
key |
Key to remove |
Minimum Role: vm-operator
Return Type: void
RPC name: remove_from_health_check_config
Overview:
Remove the given key and its corresponding value from the health_check_config field of the given pool. If the key is not in that Map, then do nothing.
Signature:
void remove_from_health_check_config (session ref session_ref, pool ref self, string key)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
key |
Key to remove |
Minimum Role: pool-operator
Return Type: void
RPC name: remove_from_other_config
Overview:
Remove the given key and its corresponding value from the other_config field of the given pool. If the key is not in that Map, then do nothing.
Signature:
void remove_from_other_config (session ref session_ref, pool ref self, string key)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
key |
Key to remove |
Minimum Role: pool-operator
Return Type: void
RPC name: remove_repository
Overview:
Remove a repository from the enabled set
Signature:
void remove_repository (session ref session_ref, pool ref self, Repository ref value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
Repository ref |
value |
The repository to be removed |
Minimum Role: client-cert
Return Type: void
RPC name: remove_tags
Overview:
Remove the given value from the tags field of the given pool. If the value is not in that Set, then do nothing.
Signature:
void remove_tags (session ref session_ref, pool ref self, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
value |
Value to remove |
Minimum Role: vm-operator
Return Type: void
RPC name: reset_telemetry_uuid
Overview:
Assign a new UUID to telemetry data.
Signature:
void reset_telemetry_uuid (session ref session_ref, pool ref self)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
Minimum Role: pool-admin
Return Type: void
RPC name: retrieve_wlb_configuration
Overview:
Retrieves the pool optimization criteria from the workload balancing server
Signature:
(string -> string) map retrieve_wlb_configuration (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: read-only
Return Type: (string -> string) map
The configuration used in optimizing this pool
RPC name: retrieve_wlb_recommendations
Overview:
Retrieves vm migrate recommendations for the pool from the workload balancing server
Signature:
(VM ref -> string set) map retrieve_wlb_recommendations (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: read-only
Return Type: (VM ref -> string set) map
The list of vm migration recommendations
RPC name: rotate_secret
Overview:
Signature:
void rotate_secret (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-admin
Return Type: void
Possible Error Codes: INTERNAL_ERROR
, HOST_IS_SLAVE
, CANNOT_CONTACT_HOST
, HA_IS_ENABLED
, NOT_SUPPORTED_DURING_UPGRADE
RPC name: send_test_post
Overview:
Send the given body to the given host and port, using HTTPS, and print the response. This is used for debugging the SSL layer.
Signature:
string send_test_post (session ref session_ref, string host, int port, string body)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
host |
|
int |
port |
|
string |
body |
Minimum Role: pool-admin
Return Type: string
The response
RPC name: send_wlb_configuration
Overview:
Sets the pool optimization criteria for the workload balancing server
Signature:
void send_wlb_configuration (session ref session_ref, (string -> string) map config)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
(string -> string) map |
config |
The configuration to use in optimizing this pool |
Minimum Role: pool-operator
Return Type: void
RPC name: set_coordinator_bias
Overview:
Set the coordinator_bias field of the given pool.
Signature:
void set_coordinator_bias (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_crash_dump_SR
Overview:
Set the crash_dump_SR field of the given pool.
Signature:
void set_crash_dump_SR (session ref session_ref, pool ref self, SR ref value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
SR ref |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_custom_uefi_certificates
Overview:
Set custom UEFI certificates for a pool and all its hosts. Need allow-custom-uefi-certs
set to true in conf. If empty: default back to Pool.uefi_certificates
Signature:
void set_custom_uefi_certificates (session ref session_ref, pool ref self, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
string |
value |
The certificates to apply to the pool and its hosts |
Minimum Role: pool-admin
Return Type: void
RPC name: set_default_SR
Overview:
Set the default_SR field of the given pool.
Signature:
void set_default_SR (session ref session_ref, pool ref self, SR ref value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
SR ref |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_ext_auth_max_threads
Overview:
Signature:
void set_ext_auth_max_threads (session ref session_ref, pool ref self, int value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
int |
value |
The new maximum |
Minimum Role: pool-operator
Return Type: void
RPC name: set_gui_config
Overview:
Set the gui_config field of the given pool.
Signature:
void set_gui_config (session ref session_ref, pool ref self, (string -> string) map value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
(string -> string) map |
value |
New value to set |
Minimum Role: vm-operator
Return Type: void
RPC name: set_ha_allow_overcommit
Overview:
Set the ha_allow_overcommit field of the given pool.
Signature:
void set_ha_allow_overcommit (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_ha_host_failures_to_tolerate
Overview:
Set the maximum number of host failures to consider in the HA VM restart planner
Signature:
void set_ha_host_failures_to_tolerate (session ref session_ref, pool ref self, int value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
int |
value |
New number of host failures to consider |
Minimum Role: pool-operator
Return Type: void
RPC name: set_health_check_config
Overview:
Set the health_check_config field of the given pool.
Signature:
void set_health_check_config (session ref session_ref, pool ref self, (string -> string) map value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
(string -> string) map |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_https_only
Overview:
updates all the host firewalls in the pool to open or close port 80 depending on the value
Signature:
void set_https_only (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
bool |
value |
true - http port 80 will be blocked, false - http port 80 will be open for the hosts in the pool |
Minimum Role: pool-operator
Return Type: void
RPC name: set_igmp_snooping_enabled
Overview:
Enable or disable IGMP Snooping on the pool.
Signature:
void set_igmp_snooping_enabled (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
bool |
value |
Enable or disable IGMP Snooping on the pool |
Minimum Role: pool-operator
Return Type: void
RPC name: set_is_psr_pending
Overview:
Set the is_psr_pending field of the given pool.
Signature:
void set_is_psr_pending (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_live_patching_disabled
Overview:
Set the live_patching_disabled field of the given pool.
Signature:
void set_live_patching_disabled (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_local_auth_max_threads
Overview:
Signature:
void set_local_auth_max_threads (session ref session_ref, pool ref self, int value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
int |
value |
The new maximum |
Minimum Role: pool-operator
Return Type: void
RPC name: set_migration_compression
Overview:
Set the migration_compression field of the given pool.
Signature:
void set_migration_compression (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_name_description
Overview:
Set the name_description field of the given pool.
Signature:
void set_name_description (session ref session_ref, pool ref self, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_name_label
Overview:
Set the name_label field of the given pool.
Signature:
void set_name_label (session ref session_ref, pool ref self, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_other_config
Overview:
Set the other_config field of the given pool.
Signature:
void set_other_config (session ref session_ref, pool ref self, (string -> string) map value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
(string -> string) map |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_policy_no_vendor_device
This message is deprecated.
Overview:
Set the policy_no_vendor_device field of the given pool.
Signature:
void set_policy_no_vendor_device (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_repositories
Overview:
Set enabled set of repositories
Signature:
void set_repositories (session ref session_ref, pool ref self, Repository ref set value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
Repository ref set |
value |
The set of repositories to be enabled |
Minimum Role: client-cert
Return Type: void
RPC name: set_suspend_image_SR
Overview:
Set the suspend_image_SR field of the given pool.
Signature:
void set_suspend_image_SR (session ref session_ref, pool ref self, SR ref value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
SR ref |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: set_tags
Overview:
Set the tags field of the given pool.
Signature:
void set_tags (session ref session_ref, pool ref self, string set value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
string set |
value |
New value to set |
Minimum Role: vm-operator
Return Type: void
RPC name: set_telemetry_next_collection
Overview:
Set the timestamp for the next telemetry data collection.
Signature:
void set_telemetry_next_collection (session ref session_ref, pool ref self, datetime value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
datetime |
value |
The earliest timestamp (in UTC) when the next round of telemetry collection can be carried out. |
Minimum Role: pool-admin
Return Type: void
RPC name: set_uefi_certificates
This message is deprecated.
Overview:
Set the UEFI certificates for a pool and all its hosts. Deprecated: use set_custom_uefi_certificates instead
Signature:
void set_uefi_certificates (session ref session_ref, pool ref self, string value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
string |
value |
The certificates to apply to the pool and its hosts |
Minimum Role: pool-admin
Return Type: void
RPC name: set_update_sync_enabled
Overview:
enable or disable periodic update synchronization depending on the value
Signature:
void set_update_sync_enabled (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
bool |
value |
true - enable periodic update synchronization, false - disable it |
Minimum Role: pool-operator
Return Type: void
RPC name: set_vswitch_controller
This message is deprecated.
Overview:
Set the IP address of the vswitch controller.
Signature:
void set_vswitch_controller (session ref session_ref, string address)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
address |
IP address of the vswitch controller. |
Minimum Role: pool-operator
Return Type: void
RPC name: set_wlb_enabled
Overview:
Set the wlb_enabled field of the given pool.
Signature:
void set_wlb_enabled (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: client-cert
Return Type: void
RPC name: set_wlb_verify_cert
This message is deprecated.
Overview:
Set the wlb_verify_cert field of the given pool.
Signature:
void set_wlb_verify_cert (session ref session_ref, pool ref self, bool value)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
reference to the object |
bool |
value |
New value to set |
Minimum Role: pool-operator
Return Type: void
RPC name: sync_database
Overview:
Forcibly synchronise the database now
Signature:
void sync_database (session ref session_ref)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: pool-operator
Return Type: void
RPC name: sync_updates
Overview:
Sync with the enabled repository
Signature:
string sync_updates (session ref session_ref, pool ref self, bool force, string token, string token_id)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
The pool |
bool |
force |
If true local mirroring repo will be removed before syncing |
string |
token |
The token for repository client authentication |
string |
token_id |
The ID of the token |
Minimum Role: client-cert
Return Type: string
The SHA256 hash of updateinfo.xml.gz
RPC name: test_archive_target
Overview:
This call tests if a location is valid
Signature:
string test_archive_target (session ref session_ref, pool ref self, (string -> string) map config)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
pool ref |
self |
Reference to the pool |
(string -> string) map |
config |
Location config settings to test |
Minimum Role: pool-operator
Return Type: string
An XMLRPC result
RPC name: uninstall_ca_certificate
Overview:
Remove a pool-wide TLS CA certificate.
Signature:
void uninstall_ca_certificate (session ref session_ref, string name)
<!--NeedCopy-->
Arguments:
Type | Name | Description |
---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
name |
The certificate name |
Minimum Role: client-cert
Return Type: void
In this article
- Fields for class: pool
-
RPCs associated with class: pool
- RPC name: add_repository
- RPC name: add_tags
- RPC name: add_to_guest_agent_config
- RPC name: add_to_gui_config
- RPC name: add_to_health_check_config
- RPC name: add_to_other_config
- RPC name: apply_edition
- RPC name: certificate_install
- RPC name: certificate_list
- RPC name: certificate_sync
- RPC name: certificate_uninstall
- RPC name: check_update_readiness
- RPC name: configure_repository_proxy
- RPC name: configure_update_sync
- RPC name: create_new_blob
- RPC name: create_VLAN
- RPC name: create_VLAN_from_PIF
- RPC name: crl_install
- RPC name: crl_list
- RPC name: crl_uninstall
- RPC name: deconfigure_wlb
- RPC name: designate_new_master
- RPC name: detect_nonhomogeneous_external_auth
- RPC name: disable_client_certificate_auth
- RPC name: disable_external_auth
- RPC name: disable_ha
- RPC name: disable_local_storage_caching
- RPC name: disable_redo_log
- RPC name: disable_repository_proxy
- RPC name: disable_ssl_legacy
- RPC name: eject
- RPC name: emergency_reset_master
- RPC name: emergency_transition_to_master
- RPC name: enable_client_certificate_auth
- RPC name: enable_external_auth
- RPC name: enable_ha
- RPC name: enable_local_storage_caching
- RPC name: enable_redo_log
- RPC name: enable_ssl_legacy
- RPC name: enable_tls_verification
- RPC name: get_all
- RPC name: get_all_records
- RPC name: get_allowed_operations
- RPC name: get_blobs
- RPC name: get_by_uuid
- RPC name: get_client_certificate_auth_enabled
- RPC name: get_client_certificate_auth_name
- RPC name: get_coordinator_bias
- RPC name: get_cpu_info
- RPC name: get_crash_dump_SR
- RPC name: get_current_operations
- RPC name: get_custom_uefi_certificates
- RPC name: get_default_SR
- RPC name: get_ext_auth_cache_enabled
- RPC name: get_ext_auth_cache_expiry
- RPC name: get_ext_auth_cache_size
- RPC name: get_ext_auth_max_threads
- RPC name: get_guest_agent_config
- RPC name: get_guest_secureboot_readiness
- RPC name: get_gui_config
- RPC name: get_ha_allow_overcommit
- RPC name: get_ha_cluster_stack
- RPC name: get_ha_configuration
- RPC name: get_ha_enabled
- RPC name: get_ha_host_failures_to_tolerate
- RPC name: get_ha_overcommitted
- RPC name: get_ha_plan_exists_for
- RPC name: get_ha_statefiles
- RPC name: get_health_check_config
- RPC name: get_igmp_snooping_enabled
- RPC name: get_is_psr_pending
- RPC name: get_last_update_sync
- RPC name: get_license_state
- RPC name: get_live_patching_disabled
- RPC name: get_local_auth_max_threads
- RPC name: get_master
- RPC name: get_metadata_VDIs
- RPC name: get_migration_compression
- RPC name: get_name_description
- RPC name: get_name_label
- RPC name: get_other_config
- RPC name: get_policy_no_vendor_device
- RPC name: get_recommendations
- RPC name: get_record
- RPC name: get_redo_log_enabled
- RPC name: get_redo_log_vdi
- RPC name: get_repositories
- RPC name: get_repository_proxy_password
- RPC name: get_repository_proxy_url
- RPC name: get_repository_proxy_username
- RPC name: get_restrictions
- RPC name: get_suspend_image_SR
- RPC name: get_tags
- RPC name: get_telemetry_frequency
- RPC name: get_telemetry_next_collection
- RPC name: get_telemetry_uuid
- RPC name: get_tls_verification_enabled
- RPC name: get_uefi_certificates
- RPC name: get_update_sync_day
- RPC name: get_update_sync_enabled
- RPC name: get_update_sync_frequency
- RPC name: get_uuid
- RPC name: get_vswitch_controller
- RPC name: get_wlb_enabled
- RPC name: get_wlb_url
- RPC name: get_wlb_username
- RPC name: get_wlb_verify_cert
- RPC name: ha_compute_hypothetical_max_host_failures_to_tolerate
- RPC name: ha_compute_max_host_failures_to_tolerate
- RPC name: ha_compute_vm_failover_plan
- RPC name: ha_failover_plan_exists
- RPC name: ha_prevent_restarts_for
- RPC name: has_extension
- RPC name: initialize_wlb
- RPC name: install_ca_certificate
- RPC name: join
- RPC name: join_force
- RPC name: management_reconfigure
- RPC name: recover_slaves
- RPC name: remove_from_guest_agent_config
- RPC name: remove_from_gui_config
- RPC name: remove_from_health_check_config
- RPC name: remove_from_other_config
- RPC name: remove_repository
- RPC name: remove_tags
- RPC name: reset_telemetry_uuid
- RPC name: retrieve_wlb_configuration
- RPC name: retrieve_wlb_recommendations
- RPC name: rotate_secret
- RPC name: send_test_post
- RPC name: send_wlb_configuration
- RPC name: set_coordinator_bias
- RPC name: set_crash_dump_SR
- RPC name: set_custom_uefi_certificates
- RPC name: set_default_SR
- RPC name: set_ext_auth_max_threads
- RPC name: set_gui_config
- RPC name: set_ha_allow_overcommit
- RPC name: set_ha_host_failures_to_tolerate
- RPC name: set_health_check_config
- RPC name: set_https_only
- RPC name: set_igmp_snooping_enabled
- RPC name: set_is_psr_pending
- RPC name: set_live_patching_disabled
- RPC name: set_local_auth_max_threads
- RPC name: set_migration_compression
- RPC name: set_name_description
- RPC name: set_name_label
- RPC name: set_other_config
- RPC name: set_policy_no_vendor_device
- RPC name: set_repositories
- RPC name: set_suspend_image_SR
- RPC name: set_tags
- RPC name: set_telemetry_next_collection
- RPC name: set_uefi_certificates
- RPC name: set_update_sync_enabled
- RPC name: set_vswitch_controller
- RPC name: set_wlb_enabled
- RPC name: set_wlb_verify_cert
- RPC name: sync_database
- RPC name: sync_updates
- RPC name: test_archive_target
- RPC name: uninstall_ca_certificate