{# Capacity of one host or a whole cluster versus its VMs; expects the context of hardware_views.capacity_context. #} {% for level, text in capacity_warnings %}
{{ text }}
{% endfor %} {% if capacity.failover_memory_gb is not None %} {% endif %}
Physisch {% if capacity.cores %}{{ capacity.cores }} Kerne / {{ capacity.threads }} Threads{% else %}—{% endif %} · {{ memory }} RAM
VMs {{ capacity.vm_count }} VM{{ capacity.vm_count|pluralize:",s" }} · {{ capacity.vcpus|floatformat:"-1" }} vCPUs · {{ vm_memory }} RAM {% if capacity.unplaced_vm_count %}
{% if capacity.host_share and capacity.distributed %} inkl. anteiliger Last aus {{ capacity.unplaced_vm_count }} Cluster-VM{{ capacity.unplaced_vm_count|pluralize:",s" }} ohne festen Host {% elif capacity.host_share %} {{ capacity.unplaced_vm_count }} Cluster-VM{{ capacity.unplaced_vm_count|pluralize:",s" }} ohne festen Host nicht enthalten, weil im Cluster VMs fest Hosts zugewiesen sind {% elif capacity.distributed %} davon {{ capacity.unplaced_vm_count }} ohne festen Host, anteilig nach Größe auf die Hosts verteilt {% else %} davon {{ capacity.unplaced_vm_count }} ohne festen Host, nicht auf die Hosts verteilt (es sind VMs fest zugewiesen) {% endif %}
{% endif %}
vCPU : Kern {{ vcpu_per_core }} ({{ vcpu_per_thread }} je Thread)
RAM zugewiesen {% if capacity.memory_percent is not None %}
{{ capacity.memory_percent }} %
{% else %}—{% endif %}
RAM bei Host-Ausfall {{ failover_memory }} {% if capacity.failover_ok %}N+1 OK{% else %}N+1 nicht erfüllt{% endif %}