{% extends 'infrastructure/base.html' %} {% load i18n %} {% load url from future %} {% block title %}{% trans 'Role' %}: {{ role.name }}{% endblock %} {% block page_header %} {% include 'horizon/common/_domain_page_header.html' with title=_('Deployment Role: ')|add:role.name %} {% endblock page_header %} {% block main %}

{% trans "Properties" %}

{% blocktrans count counter=nodes|length %}{{ counter }} instance{% plural %}{{ counter }} instances{% endblocktrans %}

{% trans 'Flavor' %}
{% if flavor %}
{{ flavor.name }} {{ flavor.get_keys.cpu_arch }} | {{ flavor.vcpus }} {% trans "CPU" %} | {{ flavor.ram }} {% trans "MB RAM" %} | {{ flavor.disk }} {% trans "GB HDD" %}
{% else %}
{% trans 'No flavor associated' %}
{% endif %}
{% trans 'Image' %}
{% if image %}
{{ image.name }}
{% else %}
{% trans 'No image associated' %}
{% endif %}

{% trans "Performance & Metrics" %}

{% url 'horizon:infrastructure:roles:performance' role.uuid as node_perf_url %} {% include "infrastructure/_performance_chart_box.html" with meter_conf=meter_conf node_perf_url=node_perf_url col_size=4 %}
{{ table.render }} {% endblock %}