diff --git a/computes/templates/overview.html b/computes/templates/overview.html index 8bfad6e..34e68c5 100644 --- a/computes/templates/overview.html +++ b/computes/templates/overview.html @@ -34,7 +34,8 @@
{% trans "Hostname" %}
-{% trans "Hypervisor" %}
+{% trans "Hypervisors" %}
+{% trans "Emulator" %}
{% trans "Memory" %}
{% trans "Architecture" %}
{% trans "Logical CPUs" %}
@@ -44,7 +45,14 @@{{ hostname }}
-{{ hypervisor }}
+{% for arch, hpv in hypervisor.items %} + + {{ arch }} + {% for h in hpv %} + {{ h }}{% endfor %} + {% endfor %} +
+{{ emulator }}
{{ host_memory|filesizeformat }}
{{ host_arch }}
{{ logical_cpu }}
diff --git a/computes/views.py b/computes/views.py index 8bea447..18ad680 100644 --- a/computes/views.py +++ b/computes/views.py @@ -156,6 +156,7 @@ def overview(request, compute_id): hostname, host_arch, host_memory, logical_cpu, model_cpu, uri_conn = conn.get_node_info() hypervisor = conn.hypervisor_type() mem_usage = conn.get_memory_usage() + emulator = conn.emulator() conn.close() except libvirtError as lib_err: error_messages.append(lib_err)