{% load i18n %}

{% trans "Status" %}

{% trans "Powered" %} {{ node.power_state|default:"—" }}

{% trans "Inventory" %}

{% trans "Node UUID" %}
{{ node.uuid|default:"—" }}
{% trans "Driver" %}
{{ node.driver|default:"—" }}
{% if node.driver == 'pxe_ssh' %}
IP Address
{{ node.driver_info.ssh_address|default:"—" }}
IPMI User
{{ node.driver_info.ssh_username|default:"—" }}
SSH Key
{{ node.driver_info.ssh_key_contents|default:"—" }}
{% else %}
IP Address
{{ node.driver_info.ipmi_address|default:"—" }}
IPMI User
{{ node.driver_info.ipmi_username|default:"—" }}
IPMI Password
{% endif %}
{% trans "Network Cards" %}
{{ node.addresses|length }}
    {% for address in node.addresses %}
  • {{ address }}
  • {% endfor %}
{% trans "Registered HW" %}
{{ node.cpu_arch|default:"—" }}
{{ node.cpus|default:"—" }} {% trans "CPU" %}
{{ node.memory_mb|default:"—" }} {% trans "RAM (MB)" %}
{{ node.local_gb|default:"—" }} {% trans "HDD (GB)" %}

{% trans "Deployment" %}

{% trans "Deployment Role" %}
{% if stack and role %}
{{ role.name }}
{% else %}
{% endif %}
{% trans "Provisioning" %}
{{ node.provisioning_status|default:"—" }} {% if node.instance_uuid %}
{{ node.instance.created }} {% endif %}
{% trans "Image" %}
{{ node.image_name|default:"—" }}
{% trans "Instance UUID" %}
{{ node.instance_uuid|default:"—" }}

{% trans "Performance & Metrics" %}

{% if meter_conf %} {% url 'horizon:infrastructure:nodes:performance' node.uuid as node_perf_url %}
{% for meter_label, url_part, y_max in meter_conf %}
{% include "infrastructure/_performance_chart.html" with label=meter_label y_max=y_max url=node_perf_url|add:"?"|add:url_part only %}
{% endfor %} {% else %}

{% trans 'Metering service is not enabled.' %}

{% endif %}