{% load i18n sizeformat %}

{% trans "Hypervisor Overview" %}

{% trans "Information" %}


{% trans "Hostname" %}
{{ hypervisor.hypervisor_hostname }}
{% trans "Host title" %}
{{ hypervisor.tnx_node_title|default_if_none:'' }}
{% trans "Type" %}
{{ hypervisor.hypervisor_type }}
{% trans "Image" %}
{% if hypervisor.tnx_image_name == 'default' %}{% trans 'Default' %}{% else %}{{ hypervisor.tnx_image_name|default_if_none:'' }}{% endif %}
{% trans "State" %}
{{ hypervisor.state_label }}
{% trans "Power state" %}
{{ hypervisor.tnx_power_state_label }}
{% trans "Reserved" %}
{{ hypervisor.tnx_is_reserved|yesno|capfirst }}
{% trans "Status" %}
{{ hypervisor.status_label|capfirst }}
{% trans "Condition" %}
{{ hypervisor.tnx_condition_label|capfirst }}
{% trans "Virtual controller" %}
{% if hypervisor.tnx_controller_id %} {{ hypervisor.tnx_controller_id }} {% else %}-{% endif %}

{% trans "Physical information" %}


{% trans "Host IP" %}
{{ hypervisor.host_ip }}
{% trans "Current workload" %}
{{ hypervisor.current_workload }}
{% trans "Free disk space (GB)" %}
{{ hypervisor.free_disk_gb }} {% trans "GB" %}
{% trans "Available disk space (GB)" %}
{{ hypervisor.disk_available_least }} {% trans "GB" %}
{% trans "Hypervisor version" %}
{{ hypervisor.hypervisor_version }}
{% trans "Total RAM (MB)" %}
{{ hypervisor.memory_mb }} {% trans "MB" %}
{% trans "Free RAM (MB)" %}
{{ hypervisor.free_ram_mb }} {% trans "MB" %}
{% trans "Used RAM (MB)" %}
{{ hypervisor.memory_mb_used }} {% trans "MB" %}
{% trans "Instances" context "Hypervisor" %}
{{ hypervisor.running_vms }} {% if vms_missing %} ({{ vms_missing }} {% blocktrans count counter=vms_missing trimmed context "Evacuated from hypervisor" %} evacuated {% plural %} evacuated {% endblocktrans %}) {% endif %}
{% trans "Total vCPU" %}
{{ hypervisor.vcpus }}
{% trans "Used vCPU" %}
{{ hypervisor.vcpus_used }}

{% trans "Location information" %}


{% trans "Data Center number" %}
{{ hypervisor.tnx_dtc_number|default_if_none:"-" }}
{% trans "Row number" %}
{{ hypervisor.tnx_row_number|default_if_none:"-" }}
{% trans "Rack number" %}
{{ hypervisor.tnx_rack_number|default_if_none:"-" }}
{% trans "Place in rack" %}
{{ hypervisor.tnx_unit_number|default_if_none:"-" }}
{% trans "Inventory number" %}
{{ hypervisor.tnx_inventory_code|default_if_none:"-" }}
{{ table.render }}
{% include "hypervisors/_set_default_power_device.html" %}