{% load i18n sizeformat parse_date %}

{% trans "Overview" %}


{% trans "Hostname" %}
{{ host.tnx_node_name|default_if_none:'' }}
{% trans "Host title" context "Infrastructure" %}
{{ host.tnx_node_title|default_if_none:'' }}
{% trans "Condition" %}
{{ host.tnx_condition_label|capfirst }}
{% trans "Description" %}
{{ host.tnx_description|default_if_none:'' }}
{% trans "Owner" %}
{{ host.tnx_owner|default_if_none:'' }}
{% trans "Created" %}
{% if host.tnx_created_at %}
{{ host.tnx_created_at|parse_date }}
{% else %}
{% trans "Unknown" %}
{% endif %}
{% trans "Virtual controller" %}
{% if host.tnx_controller_id %} {{ host.tnx_controller_id }} {% else %}-{% endif %}

{% trans "Physical information" %}


{% trans "Total RAM (MB)" %}
{{ host.tnx_ram_mb|default_if_none:'' }}
{% trans "Total vCPU" %}
{{ host.tnx_cpu_amount|default_if_none:'' }}
{% trans "HDD (GB)" %}
{{ host.tnx_hdd_gb|default_if_none:'' }}

{% trans "Location information" %}


{% trans "Data Center number" %}
{{ host.tnx_dtc_number|default_if_none:"-" }}
{% trans "Row number" %}
{{ host.tnx_row_number|default_if_none:"-" }}
{% trans "Rack number" %}
{{ host.tnx_rack_number|default_if_none:"-" }}
{% trans "Place in rack" %}
{{ host.tnx_unit_number|default_if_none:"-" }}
{% trans "Inventory number" %}
{{ host.tnx_inventory_code|default_if_none:"-" }}

{% trans "Class and type" %}


{% trans "Host Class" %}
{{ host.tnx_host_class.name|default_if_none:_('No') }}
{% trans "Host Type" %}
{{ host.tnx_host_type.name|default_if_none:_('No') }}

{% trans "IP-addresses" %}


{% trans "Host IP" %}
    {% for ip_addr in host.tnx_ip_addresses %}
  • {{ ip_addr.ip_address }}
  • {% endfor %}