Class: host

A physical host

Enums

host_allowed_operations
latest_synced_updates_applied_state
update_guidances
host_display
host_sched_gran
host_numa_affinity_policy

Fields

int API_version_major [RO/runtime]
int API_version_minor [RO/runtime]
string API_version_vendor [RO/runtime]
(string → string) map API_version_vendor_implementation [RO/runtime]
PBD ref set PBDs [RO/runtime]
PCI ref set PCIs [RO/runtime]
PGPU ref set PGPUs [RO/runtime]
PIF ref set PIFs [RO/runtime]
PUSB ref set PUSBs [RO/runtime]
string address [RW]
enum host_allowed_operations set allowed_operations [RO/runtime]
(string → string) map bios_strings [RO/runtime]
(string → blob ref) map blobs [RO/runtime]
string set capabilities [RO/constructor]
Certificate ref set certificates [RO/runtime]
(string → string) map chipset_info [RO/runtime]
VM ref control_domain [RO/runtime]
(string → string) map cpu_configuration [RO/runtime]
(string → string) map cpu_info [RO/runtime]
SR ref crash_dump_sr [RW]
host_crashdump ref set crashdumps [RO/runtime]
(string → enum host_allowed_operations) map current_operations [RO/runtime]
enum host_display display [RW]
string edition [RO/runtime]
string set editions [RO/runtime]
bool enabled [RO/runtime]
(string → string) map external_auth_configuration [RO/runtime]
string external_auth_service_name [RO/runtime]
string external_auth_type [RO/runtime]
Feature ref set features [RO/runtime]
(string → string) map guest_VCPUs_params [RW]
string set ha_network_peers [RO/runtime]
string set ha_statefiles [RO/runtime]
host_cpu ref set host_CPUs [RO/runtime]
string hostname [RW]
Prototype
bool https_only [RO/runtime]
string iscsi_iqn [RO/constructor]
Prototype
datetime last_software_update [RO/runtime]
Prototype
string last_update_hash [RO/runtime]
Prototype
enum latest_synced_updates_applied_state latest_synced_updates_applied [RO/runtime]
(string → string) map license_params [RO/runtime]
(string → string) map license_server [RW]
SR ref local_cache_sr [RO/constructor]
(string → string) map logging [RW]
int memory_overhead [RO/runtime]
host_metrics ref metrics [RO/runtime]
bool multipathing [RO/constructor]
string name_description [RW]
string name_label [RW]
Prototype
enum host_numa_affinity_policy numa_affinity_policy [RO/runtime]
(string → string) map other_config [RW]
Deprecated
host_patch ref set patches [RO/runtime]
enum update_guidances set pending_guidances [RO/runtime]
Prototype
enum update_guidances set pending_guidances_full [RO/runtime]
Prototype
(string → string) map power_on_config [RO/runtime]
string power_on_mode [RO/runtime]
VM ref set resident_VMs [RO/runtime]
string sched_policy [RO/runtime]
(string → string) map software_version [RO/constructor]
Deprecated
bool ssl_legacy [RO/constructor]
string set supported_bootloaders [RO/runtime]
SR ref suspend_image_sr [RW]
string set tags [RW]
bool tls_verification_enabled [RO/runtime]
Deprecated
string uefi_certificates [RO/constructor]
pool_update ref set updates [RO/runtime]
pool_update ref set updates_requiring_reboot [RO/runtime]
string uuid [RO/runtime]
int set virtual_hardware_platform_versions [RO/runtime]

Messages

void add_tags (session ref, host ref, string)
void add_to_guest_VCPUs_params (session ref, host ref, string, string)
void add_to_license_server (session ref, host ref, string, string)
void add_to_logging (session ref, host ref, string, string)
void add_to_other_config (session ref, host ref, string, string)
void apply_edition (session ref, host ref, string, bool)
Removed
string set set apply_updates (session ref, host ref, string)
void assert_can_evacuate (session ref, host ref)
void backup_rrds (session ref, host ref, float)
void bugreport_upload (session ref, host ref, string, (string → string) map)
string call_extension (session ref, host ref, string)
string call_plugin (session ref, host ref, string, string, (string → string) map)
int compute_free_memory (session ref, host ref)
int compute_memory_overhead (session ref, host ref)
blob ref create_new_blob (session ref, host ref, string, string, bool)
void declare_dead (session ref, host ref)
void destroy (session ref, host ref)
void disable (session ref, host ref)
enum host_display disable_display (session ref, host ref)
void disable_external_auth (session ref, host ref, (string → string) map)
void disable_local_storage_caching (session ref, host ref)
string dmesg (session ref, host ref)
string dmesg_clear (session ref, host ref)
Prototype
void emergency_clear_mandatory_guidance (session ref)
void emergency_disable_tls_verification (session ref)
void emergency_ha_disable (session ref, bool)
void emergency_reenable_tls_verification (session ref)
void emergency_reset_server_certificate (session ref)
void enable (session ref, host ref)
enum host_display enable_display (session ref, host ref)
void enable_external_auth (session ref, host ref, (string → string) map, string, string)
void enable_local_storage_caching (session ref, host ref, SR ref)
void evacuate (session ref, host ref, network ref, int)
void forget_data_source_archives (session ref, host ref, string)
int get_API_version_major (session ref, host ref)
int get_API_version_minor (session ref, host ref)
string get_API_version_vendor (session ref, host ref)
(string → string) map get_API_version_vendor_implementation (session ref, host ref)
PBD ref set get_PBDs (session ref, host ref)
PCI ref set get_PCIs (session ref, host ref)
PGPU ref set get_PGPUs (session ref, host ref)
PIF ref set get_PIFs (session ref, host ref)
PUSB ref set get_PUSBs (session ref, host ref)
string get_address (session ref, host ref)
host ref set get_all (session ref)
(host ref → host record) map get_all_records (session ref)
enum host_allowed_operations set get_allowed_operations (session ref, host ref)
(string → string) map get_bios_strings (session ref, host ref)
(string → blob ref) map get_blobs (session ref, host ref)
host ref set get_by_name_label (session ref, string)
host ref get_by_uuid (session ref, string)
string set get_capabilities (session ref, host ref)
Certificate ref set get_certificates (session ref, host ref)
(string → string) map get_chipset_info (session ref, host ref)
VM ref get_control_domain (session ref, host ref)
(string → string) map get_cpu_configuration (session ref, host ref)
(string → string) map get_cpu_info (session ref, host ref)
SR ref get_crash_dump_sr (session ref, host ref)
host_crashdump ref set get_crashdumps (session ref, host ref)
(string → enum host_allowed_operations) map get_current_operations (session ref, host ref)
data_source record set get_data_sources (session ref, host ref)
enum host_display get_display (session ref, host ref)
string get_edition (session ref, host ref)
string set get_editions (session ref, host ref)
bool get_enabled (session ref, host ref)
(string → string) map get_external_auth_configuration (session ref, host ref)
string get_external_auth_service_name (session ref, host ref)
string get_external_auth_type (session ref, host ref)
Feature ref set get_features (session ref, host ref)
(string → string) map get_guest_VCPUs_params (session ref, host ref)
string set get_ha_network_peers (session ref, host ref)
string set get_ha_statefiles (session ref, host ref)
host_cpu ref set get_host_CPUs (session ref, host ref)
string get_hostname (session ref, host ref)
Prototype
bool get_https_only (session ref, host ref)
string get_iscsi_iqn (session ref, host ref)
Prototype
datetime get_last_software_update (session ref, host ref)
Prototype
string get_last_update_hash (session ref, host ref)
Prototype
enum latest_synced_updates_applied_state get_latest_synced_updates_applied (session ref, host ref)
(string → string) map get_license_params (session ref, host ref)
(string → string) map get_license_server (session ref, host ref)
SR ref get_local_cache_sr (session ref, host ref)
string get_log (session ref, host ref)
(string → string) map get_logging (session ref, host ref)
PIF ref get_management_interface (session ref, host ref)
int get_memory_overhead (session ref, host ref)
host_metrics ref get_metrics (session ref, host ref)
bool get_multipathing (session ref, host ref)
string get_name_description (session ref, host ref)
string get_name_label (session ref, host ref)
Prototype
enum host_numa_affinity_policy get_numa_affinity_policy (session ref, host ref)
(string → string) map get_other_config (session ref, host ref)
Deprecated
host_patch ref set get_patches (session ref, host ref)
enum update_guidances set get_pending_guidances (session ref, host ref)
Prototype
enum update_guidances set get_pending_guidances_full (session ref, host ref)
Prototype
(string → string) map get_power_on_config (session ref, host ref)
string get_power_on_mode (session ref, host ref)
host record get_record (session ref, host ref)
VM ref set get_resident_VMs (session ref, host ref)
enum host_sched_gran get_sched_gran (session ref, host ref)
string get_sched_policy (session ref, host ref)
string get_server_certificate (session ref, host ref)
datetime get_server_localtime (session ref, host ref)
datetime get_servertime (session ref, host ref)
(string → string) map get_software_version (session ref, host ref)
Deprecated
bool get_ssl_legacy (session ref, host ref)
string set get_supported_bootloaders (session ref, host ref)
SR ref get_suspend_image_sr (session ref, host ref)
string get_system_status_capabilities (session ref, host ref)
string set get_tags (session ref, host ref)
bool get_tls_verification_enabled (session ref, host ref)
Deprecated
string get_uefi_certificates (session ref, host ref)
Deprecated
VM ref set get_uncooperative_resident_VMs (session ref, host ref)
pool_update ref set get_updates (session ref, host ref)
pool_update ref set get_updates_requiring_reboot (session ref, host ref)
string get_uuid (session ref, host ref)
int set get_virtual_hardware_platform_versions (session ref, host ref)
(VM ref → string set) map get_vms_which_prevent_evacuation (session ref, host ref)
bool has_extension (session ref, host ref, string)
void install_server_certificate (session ref, host ref, string, string, string)
void license_add (session ref, host ref, string)
Removed
void license_apply (session ref, host ref, string)
void license_remove (session ref, host ref)
string set list_methods (session ref)
void local_management_reconfigure (session ref, string)
void management_disable (session ref)
void management_reconfigure (session ref, PIF ref)
(string → string) map migrate_receive (session ref, host ref, network ref, (string → string) map)
void power_on (session ref, host ref)
float query_data_source (session ref, host ref, string)
void reboot (session ref, host ref)
void record_data_source (session ref, host ref, string)
Deprecated
void refresh_pack_info (session ref, host ref)
void refresh_server_certificate (session ref, host ref)
void remove_from_guest_VCPUs_params (session ref, host ref, string)
void remove_from_license_server (session ref, host ref, string)
void remove_from_logging (session ref, host ref, string)
void remove_from_other_config (session ref, host ref, string)
void remove_tags (session ref, host ref, string)
Removed
void reset_cpu_features (session ref, host ref)
void reset_server_certificate (session ref, host ref)
void restart_agent (session ref, host ref)
(VM ref → string set) map retrieve_wlb_evacuate_recommendations (session ref, host ref)
void send_debug_keys (session ref, host ref, string)
void set_address (session ref, host ref, string)
Removed
void set_cpu_features (session ref, host ref, string)
void set_crash_dump_sr (session ref, host ref, SR ref)
void set_display (session ref, host ref, enum host_display)
void set_guest_VCPUs_params (session ref, host ref, (string → string) map)
void set_hostname (session ref, host ref, string)
void set_hostname_live (session ref, host ref, string)
Prototype
void set_https_only (session ref, host ref, bool)
void set_iscsi_iqn (session ref, host ref, string)
void set_license_server (session ref, host ref, (string → string) map)
void set_logging (session ref, host ref, (string → string) map)
void set_multipathing (session ref, host ref, bool)
void set_name_description (session ref, host ref, string)
void set_name_label (session ref, host ref, string)
Prototype
void set_numa_affinity_policy (session ref, host ref, enum host_numa_affinity_policy)
void set_other_config (session ref, host ref, (string → string) map)
void set_power_on_mode (session ref, host ref, string, (string → string) map)
void set_sched_gran (session ref, host ref, enum host_sched_gran)
void set_ssl_legacy (session ref, host ref, bool)
void set_suspend_image_sr (session ref, host ref, SR ref)
void set_tags (session ref, host ref, string set)
Deprecated
void set_uefi_certificates (session ref, host ref, string)
void shutdown (session ref, host ref)
void shutdown_agent (session ref)
void sync_data (session ref, host ref)
void syslog_reconfigure (session ref, host ref)