{% load i18n sizeformat %} {% load url from future %}

{% 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 "Assigned 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 "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" %}
{{ hypervisor.running_vms }}
{% 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:_('No') }}
{% trans "Row number" %}
{{ hypervisor.tnx_row_number|default_if_none:_('No') }}
{% trans "Rack number" %}
{{ hypervisor.tnx_rack_number|default_if_none:_('No') }}
{% trans "Place in rack" %}
{{ hypervisor.tnx_unit_number|default_if_none:_('No') }}
{% trans "Inventory number" %}
{{ hypervisor.tnx_inventory_code|default_if_none:_("-") }}
{{ table.render }}