Host#
- class Host(host_name=None, host_type=None, hypervisor=None, cluster=None, controller_vm=None, disk=None, is_degraded=None, is_secure_booted=None, is_hardware_virtualized=None, has_csr=None, key_management_device_to_cert_status=None, number_of_cpu_cores=None, number_of_cpu_threads=None, number_of_cpu_sockets=None, cpu_capacity_hz=None, cpu_frequency_hz=None, cpu_model=None, gpu_driver_version=None, gpu_list=None, default_vhd_location=None, default_vhd_container_uuid=None, default_vm_location=None, default_vm_container_uuid=None, is_reboot_pending=None, failover_cluster_fqdn=None, failover_cluster_node_status=None, boot_time_usecs=None, memory_size_bytes=None, block_serial=None, block_model=None, maintenance_state=None, node_status=None, ipmi=None, rackable_unit_uuid=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModelHost entity with its attributes.
- Parameters:
host_name (max=63 chars) – (
host_name) Name of the host.host_type – (
host_type)hypervisor – (
hypervisor)cluster – (
cluster)controller_vm – (
controller_vm)disk – (
disk) Disks attached to host.is_degraded – (
is_degraded) Node degraded status.is_secure_booted – (
is_secure_booted) Secure boot status.is_hardware_virtualized – (
is_hardware_virtualized) Indicates whether the hardware is virtualized or not.has_csr – (
has_csr) Certificate signing request status.key_management_device_to_cert_status – (
key_management_device_to_cert_status) Mapping of key management device to certificate status list.number_of_cpu_cores – (
number_of_cpu_cores) Number of CPU cores.number_of_cpu_threads – (
number_of_cpu_threads) Number of CPU threads.number_of_cpu_sockets – (
number_of_cpu_sockets) Number of CPU sockets.cpu_capacity_hz – (
cpu_capacity_hz) CPU capacity in Hz.cpu_frequency_hz – (
cpu_frequency_hz) CPU frequency in Hz.cpu_model – (
cpu_model) CPU model name.gpu_driver_version – (
gpu_driver_version) GPU driver version.gpu_list – (
gpu_list) GPU attached list.default_vhd_location – (
default_vhd_location) Default VHD location.default_vhd_container_uuid – (
default_vhd_container_uuid) Default VHD container UUID.default_vm_location – (
default_vm_location) Default VM location.default_vm_container_uuid – (
default_vm_container_uuid) Default VM container UUID.is_reboot_pending – (
is_reboot_pending) Reboot pending status.failover_cluster_fqdn – (
failover_cluster_fqdn) Failover cluster FQDN.failover_cluster_node_status – (
failover_cluster_node_status) Failover cluster node status.boot_time_usecs – (
boot_time_usecs) Boot time in secs.memory_size_bytes – (
memory_size_bytes) Memory size in bytes.block_serial – (
block_serial) Rackable unit serial name.block_model – (
block_model) Rackable unit model name.maintenance_state – (
maintenance_state) Host Maintenance State.node_status – (
node_status)ipmi – (
ipmi)rackable_unit_uuid – (
rackable_unit_uuid) Rackable unit UUID.
- property block_model#
Rackable unit model name.
- Type:
str
- property block_serial#
Rackable unit serial name.
- Type:
str
- property boot_time_usecs#
Boot time in secs.
- Type:
int
- property cluster#
- Type:
- property controller_vm#
- Type:
- property cpu_capacity_hz#
CPU capacity in Hz.
- Type:
int
- property cpu_frequency_hz#
CPU frequency in Hz.
- Type:
int
- property cpu_model#
CPU model name.
- Type:
str
- property default_vhd_container_uuid#
Default VHD container UUID.
- Type:
str
- property default_vhd_location#
Default VHD location.
- Type:
str
- property default_vm_container_uuid#
Default VM container UUID.
- Type:
str
- property default_vm_location#
Default VM location.
- Type:
str
- property disk#
Disks attached to host.
- Type:
list[
DiskReference]
- property failover_cluster_fqdn#
Failover cluster FQDN.
- Type:
str
- property failover_cluster_node_status#
Failover cluster node status.
- Type:
str
- property gpu_driver_version#
GPU driver version.
- Type:
str
- property gpu_list#
GPU attached list.
- Type:
list[
str]
- property has_csr#
Certificate signing request status.
- Type:
bool
- property host_name#
Name of the host.
- Type:
str
- property host_type#
- Type:
- property hypervisor#
- Type:
- property ipmi#
- Type:
- property is_degraded#
Node degraded status.
- Type:
bool
- property is_hardware_virtualized#
Indicates whether the hardware is virtualized or not.
- Type:
bool
- property is_reboot_pending#
Reboot pending status.
- Type:
bool
- property is_secure_booted#
Secure boot status.
- Type:
bool
- property key_management_device_to_cert_status#
Mapping of key management device to certificate status list.
- Type:
- property maintenance_state#
Host Maintenance State.
- Type:
str
- property memory_size_bytes#
Memory size in bytes.
- Type:
int
- property node_status#
- Type:
- property number_of_cpu_cores#
Number of CPU cores.
- Type:
int
- property number_of_cpu_sockets#
Number of CPU sockets.
- Type:
int
- property number_of_cpu_threads#
Number of CPU threads.
- Type:
int
- property rackable_unit_uuid#
Rackable unit UUID.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model