{% extends 'dcim/device/base.html' %} {% block content %} {% if not supported and not record %}
CPU & RAM werden für Geräte mit den konfigurierten Rollen (z. B. Server) und für Cluster-Hosts gepflegt.
{% endif %}

CPU & RAM {% if record and can_change %} Bearbeiten {% elif not record and can_add %} Erfassen {% endif %}

{% if record %} {% include 'netbox_utilities/inc/hardware_record.html' %} {% else %}
Noch keine CPU und kein RAM erfasst.
{% endif %}
{% if capacity %}

Virtualisierung {% if object.cluster %}Cluster {{ object.cluster }}{% endif %}

{% include 'netbox_utilities/inc/hardware_capacity.html' %}
{% endif %}
{% if capacity %}

VMs auf diesem Host {{ vms|length }} In der VM-Liste öffnen

{% if vms %}
{% for vm in vms %} {% endfor %}
NameStatusvCPUsRAMMandant
{{ vm }} {{ vm.get_status_display }} {{ vm.vcpus|floatformat:"-1"|default:"—" }} {% if vm.memory %}{{ vm.memory }} MB{% else %}—{% endif %} {% if vm.tenant %}{{ vm.tenant }}{% else %}—{% endif %}
{% else %}
Keine VMs mit diesem Gerät als Host.
{% endif %} {% if capacity.distributed and capacity.unplaced_vm_count %} {% endif %}
{% endif %} {% endblock content %}