{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% block form_id %}add_disk_profile_form{% endblock %} {% block form_action %}{% url 'horizon:admin:inventory:adddiskprofile' host_id %}{% endblock %} {% block modal-header %}{% trans "Create Storage Profile" %}{% endblock %} {% block modal-body %}
{% trans "Create a new Storage Profile based on the storage and disk configuration of this host." %}
{% trans "Disk" %} | {% trans "Storage" %} | |
---|---|---|
{{ disk.device_path }} {{"( "}} {{ disk.device_node }}{{", "}} {{disk.serial_id}} {{" )"}} {{": "}} {{ disk.size_gib }} {{ "GiB" }} | {% for stor in host.stors %} {% if stor.uuid == disk.istor_uuid %}{% if stor.function == 'osd' %} {{ stor.function }} {{"stor"}} {{"- ceph journal size: "}} {{stor.journal_size_gib}}{{" GiB,"}} {% if stor.journal_location == stor.uuid %} {{ "collocated on osd stor" }} {% else %} {{ "on journal stor" }} {{stor.count}} {% endif %} {{", for tier:"}} {{stor.tier_name}} {% else %} {{ stor.function }} {{"stor"}} {{stor.count}} {% endif %} | {% endif %} {% endfor %}|
{% trans "Logical Volume Group" %} | {% trans "Physical Volumes" %} | {% trans "Physical Volume Partitions" %} | {% endif %}
{{ "name"}} {{": "}} {{ lvg.lvm_vg_name }}
{{ " " }} {% if lvg.instances_lv_size_gib %} {{ "instances_lv size GiB"}} {{": "}} {{lvg.instances_lv_size_gib }} {{ " " }} {% endif %} |
{{ "devices"}} {{": "}} {{ lvg.dev_paths }} | {% endfor %}{% for part in host.partitions %}
{{ part.device_path}} {{": "}} {{ part.size_gib }} {{" GiB"}}
{{ " " }} {% endfor %} |
{% endif %}