{% extends 'base.html' %} {% load i18n %} {% load static %} {% block title %}{% trans "Volume Metrics" %}{% endblock %} {% block page_header %} {% include "horizon/common/_page_header.html" with title=_("Volume Metrics") %} {% endblock page_header %} {% block main %}
{% include "admin/volume_metrics/_metrics_cards.html" %}
{% include "admin/volume_metrics/_storage_chart.html" %}

{% trans "Storage Pools" %}

{% if storage_pools %} {% for pool in storage_pools %}
{{ pool.name }} {% trans "Allocated" %}: {{ pool.allocated|floatformat:2 }} / {{ pool.total|floatformat:2 }} GiB {% trans "Total" %}
{% widthratio pool.allocated pool.total 100 as usage_percent %}
{{ usage_percent }}% {% trans "allocated" %}
{% trans "Free" %}: {{ pool.free|floatformat:2 }} GiB {% trans "Provisioned" %}: {{ pool.provisioned|floatformat:2 }} GiB
{% endfor %} {% else %}

{% trans "No storage pools found." %}

{% endif %}
{% include "admin/volume_metrics/_capacity_prediction.html" %}

{% trans "Detailed Pool Information" %}

{% if storage_pools %}
{% for pool in storage_pools %} {% endfor %}
{% trans "Pool Name" %} {% trans "Total (GiB)" %} {% trans "Allocated (GiB)" %} {% trans "Free (GiB)" %} {% trans "Provisioned (GiB)" %} {% trans "Usage %" %}
{{ pool.name }} {{ pool.total|floatformat:2 }} {{ pool.allocated|floatformat:2 }} {{ pool.free|floatformat:2 }} {{ pool.provisioned|floatformat:2 }} {% widthratio pool.allocated pool.total 100 as usage_percent %} {{ usage_percent }}%
{% else %}

{% trans "No storage pools found." %}

{% endif %}
{% endblock %}