{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% block title %}{% trans "Overview" %} - {{ compute.name }}{% endblock %} {% block page_heading_extra %} {% bs_icon 'pencil' %} {% trans "Edit connection" %} {% bs_icon 'x-circle' %} {% trans "Remove from panel" %} {% endblock page_heading_extra %} {% block page_heading %}{{ compute.name }}{% endblock page_heading %} {% block content %}

{% if connected %} {% trans "Connected" %} {% else %} {% trans "Not connected" %} {% endif %} {{ compute.hostname }} {% if compute.details %}{{ compute.details }}{% endif %}

{% include "computes/host_nav.html" with section="overview" %} {% if not connected %} {% else %} {% if read_error %} {% endif %} {% if given %}
{% trans "VMs" %}
{{ given.vm_count }}
{% blocktrans with running=given.vms.running shutoff=given.vms.shutoff %}{{ running }} running, {{ shutoff }} shut off{% endblocktrans %}{% if given.vms.paused %}, {% blocktrans with paused=given.vms.paused %}{{ paused }} paused{% endblocktrans %}{% endif %}{% if given.vms.other %}, {% blocktrans with other=given.vms.other %}{{ other }} other{% endblocktrans %}{% endif %}
{% trans "Instances" %} →
{% trans "vCPUs" %}
{% include "computes/capacity_vcpus.html" %}
{% trans "Memory" %}
{% include "computes/capacity_memory.html" %}
{% trans "Storage" %}
{% include "computes/capacity_storage.html" %} {% trans "Storages" %} →
{% else %}

{% trans "The capacity could not be read." %}

{% endif %} {# the load is read on its own: shown also when the details could not be #}
{% trans "CPU in use" %} –
{% trans "Memory in use" %} –

{% trans "The last 10 readings, one every 5 seconds. Memory in use leaves out the host's buffers and cache." %} {% trans "Waiting for the first reading." %}

{% if host %}
{% trans "Hostname" %}
{{ host.hostname }}
{% trans "Architecture" %}
{{ host.arch }}
{% trans "Processor" %}
{{ host.processor|default:"–" }}
{% trans "Logical CPUs" %}
{{ host.topology.cpus }}
{% trans "Physical cores" %}
{{ host.topology.cores|default:"–" }}
{% trans "Sockets" %}
{{ host.topology.sockets|default:"–" }}
{% trans "NUMA nodes" %}
{{ host.topology.nodes|default:"–" }}
{% trans "Clock" %}
{{ host.topology.mhz }} MHz
{% trans "Memory" %}
{{ host.memory|filesizeformat }}
{% trans "Hypervisor" %}
{{ host.hypervisor }} {{ host.hypervisor_version }}
libvirt
{{ host.libvirt_version }}
{% trans "Emulator" %}
{{ host.emulator|default:"–" }}
{% trans "Guest architectures" %}
{% for arch, types in host.guest_archs.items %}
{{ arch }} ({{ types|join:", " }})
{% endfor %}
{% trans "Connection" %}
{{ host.uri }}
{% endif %} {% endif %} {% endblock %} {% block script %} {% if connected %} {% endif %} {% endblock %}