{% extends "horizon/common/_modal_form.html" %} {% load horizon i18n getvalue %} {% block form_id %}add_cpu_profile_form{% endblock %} {% block form_action %}{% url 'horizon:admin:inventory:addcpuprofile' host_id %}{% endblock %} {% block modal-header %}{% trans "Create CPU Profile" %}{% endblock %} {% block modal-body %}
{% include "horizon/common/_form_fields.html" %}
{{ "
With the following configuration:" }} {% for cpufunc in host.core_assignment %} {% endfor %}
{% trans "Function" %} {% trans "Processor Logical Cores" %}
{{ cpu_formats|get_value:cpufunc.allocated_function }} {% for s,cores in cpufunc.socket_cores.items %} {% trans "Processor " %} {{ s }} {% trans ": " %} {{ cores }} {{ "
" }} {% endfor %}
{{ "
" }}

{% trans "Description" %}:

{% trans "Create a new CPU Profile based on the cpu core assignments of this host." %}

{% endblock %} {% block modal-footer %} Cancel {% endblock %}