Dem Cluster sind keine Hosts (Geräte) zugeordnet.
{% else %}
{# Hosts #}
Hosts
{{ rows|length }}
{% if capacity.cores %}{{ capacity.cores }} Kerne · {{ capacity.threads }} Threads · {{ memory }}{% else %}keine CPU erfasst{% endif %}
{# vCPU ratio #}
vCPU : Kern
{{ vcpu_per_core }}
{{ capacity.vcpus|floatformat:"-1" }} vCPUs in {{ capacity.vm_count }} VM{{ capacity.vm_count|pluralize:",s" }}
{% if ratio_limit %}· Grenze {{ ratio_limit }} : 1{% endif %}
{# RAM #}
RAM belegt
{% if capacity.memory_percent is not None %}{{ capacity.memory_percent }} %{% else %}—{% endif %}
{{ vm_memory }} von {{ memory }}
{# N+1 #}
Ausfall größter Host (N+1)
{% if capacity.failover_memory_gb is None %}
—
braucht mindestens 2 Hosts mit erfasstem RAM
{% else %}
{% if capacity.failover_ok %}OK{% else %}Nicht erfüllt{% endif %}
{{ failover_memory }} verbleiben · {{ vm_memory }} benötigt
{% endif %}
{% if capacity_warnings %}
{% for level, text in capacity_warnings %}- {{ text }}
{% endfor %}
{% endif %}