diff --git a/tuskar_sat_ui/templates/infrastructure/nodes/details.html b/tuskar_sat_ui/templates/infrastructure/nodes/details.html index 97326c3..8e7ab76 100644 --- a/tuskar_sat_ui/templates/infrastructure/nodes/details.html +++ b/tuskar_sat_ui/templates/infrastructure/nodes/details.html @@ -6,28 +6,16 @@ {% include 'horizon/common/_page_header.html' with title=_('Node Details') %} {% endblock page_header %} - {% block js %} {{ block.super }} {% endblock %} - - {% block main %}
-

{% trans "Info" %}

-
{% trans "MAC Addresses" %}
-
{{ node.addresses|join:", "|default:"—" }}
-
{% trans "UUID" %}
-
{{ node.uuid|default:"—" }}
-
{% trans "Instance UUID" %}
-
{{ node.instance_uuid|default:"—" }}
-
{% trans "Driver" %}
-
{{ node.driver|default:"—" }}
{% trans "Power state" %}
{{ node.power_state|default:"—" }}
@@ -35,26 +23,53 @@
-

{% trans "Driver Info" %}

+

{% trans "Inventory" %}

-
{% trans "IPMI address" %}
-
{{ node.driver_info.ipmi_address|default:"—" }}
-
{% trans "IPMI username" %}
-
{{ node.driver_info.ipmi_username|default:"—" }}
+
{% trans "Node UUID" %}
+
{{ node.uuid|default:"—" }}
+
{% trans "Driver" %}
+
+ {{ node.driver|default:"—" }}
+ IP Address: {{ node.driver_info.ipmi_address|default:"—" }}
+ IPMI User: {{ node.driver_info.ipmi_username|default:"—" }} +
+
{% trans "Network Cards" %}
+
+ {{ node.addresses|length }}
+ {% for address in node.addresses %} + {{ address }}
+ {% endfor %} +
+
{% trans "Registered HW" %}
+
+ {{ node.cpus|default:"—" }} {% trans "CPU" %}
+ {{ node.memory_mb|default:"—" }} {% trans "RAM (MB)" %}
+ {{ node.local_gb|default:"—" }} {% trans "HDD (GB)" %} +
-

{% trans "Properties" %}

+

{% trans "Deployment" %}

-
{% trans "Local disk" %}
-
{{ node.properties.local_disk|filesizeformat|default:"—" }}
-
{% trans "RAM" %}
-
{{ node.properties.ram|filesizeformat|default:"—" }}
-
{% trans "CPU" %}
-
{{ node.properties.cpu|default:"—" }}
+
{% 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:"—" }}
-
{% if node.uuid %} @@ -66,12 +81,11 @@
{% endif %} -

{% trans "Performance and Capacity" %}

-{% if meters %} +{% if meter_conf %}
-{% url 'horizon:infrastructure:nodes:performance' node.id as node_perf_url %} +{% url 'horizon:infrastructure:nodes:performance' node.uuid as node_perf_url %}
@@ -145,14 +159,14 @@
- {% for meter_name, meter_label in meters %} - {% if forloop.counter0|divisibleby:"4" %} + {% for meter_label, url_part in meter_conf %} + {% if forloop.counter == 1 or forloop.counter == 4 %} {% endif %} - {% if forloop.counter|divisibleby:"4" %} + {% if forloop.counter == 3 or forloop.counter == 5 %} {% endif %} {% endfor %} @@ -162,4 +176,3 @@ Metering service is not enabled. {% endif %} {% endblock %} -
- {% include "infrastructure/_performance_chart.html" with label=meter_label url=node_perf_url|add:"?meter="|add:meter_name only %} + {% include "infrastructure/_performance_chart.html" with label=meter_label url=node_perf_url|add:"?"|add:url_part only %}