{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% block form_id %}add_memory_profile_form{% endblock %} {% block form_action %}{% url 'horizon:admin:inventory:addmemoryprofile' host_id %}{% endblock %} {% block modal-header %}{% trans "Create Memory Profile" %}{% endblock %} {% block modal-body %}
{% include "horizon/common/_form_fields.html" %}
{{ "
With the following configuration:" }} {% for node,m in host.numa_nodes %} {% endfor %}
{% trans "Numa Node" %} {% trans "Platform Reserved" %} {% trans "Application Hugepages" %} {% trans "vSwitch Hugepages" %}
{{ node }} {{ m.platform_reserved_mib }} {% trans " MiB " %} {% trans " 2M Pages: " %} {{ m.vm_hugepages_nr_2M }} {{ "
" }} {% trans " 1G Pages: " %} {{ m.vm_hugepages_nr_1G }} {{ "
" }}
{% trans " Size (MB): " %} {{ m.vswitch_hugepages_size_mib }} {{ "
" }} {% trans " Pages: " %} {{ m.vswitch_hugepages_nr }} {{ "
" }}
{{ "
" }}

{% trans "Description" %}:

{% trans "Create a new Memory Profile based on the platform memory and the hugepage assignments on this host." %}

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