{% load i18n sizeformat %}
{% for node_group in cluster.node_groups %}

{% blocktrans with node_group_name=node_group.name %}Name: {{ node_group_name }}{% endblocktrans %}

{% trans "Number of Nodes" %}
{{ node_group.count }}
{% trans "Flavor" %}
{{ node_group.flavor_name|default:_("Flavor is not specified") }}
{% if node_group.floating_ip_pool %}
{% trans "Floating IP Pool" %}
{{ node_group.floating_ip_pool_name }}
{% endif %}
{% trans "Template" %}
{% if node_group.node_group_template_id %}
{{ node_group.node_group_template.name }}
{% else %}
{% trans "Template not specified" %}
{% endif %}
{% trans "Use auto-configuration" %}
{{ node_group.use_autoconfig }}
{% trans "Proxy Gateway" %}
{{ node_group.is_proxy_gateway|yesno }}
{% trans "Auto Security Group" %}
{{ node_group.auto_security_group|yesno }}
{% trans "Security Groups" %}
    {% for group in node_group.security_groups_full %} {% if group.id %}
  • {{ group.name }}
  • {% else %}
  • {{ group.name }}
  • {% endif %} {% endfor %}
{% trans "Node Processes" %}
{% if node_group.node_processes %}
    {% for process in node_group.node_processes %}
  • {{ process }}
  • {% endfor %}
{% else %}
{% trans "Node processes are not specified" %}
{% endif %}

{% trans "HDFS placement" %}

{% if node_group.volumes_per_node %}
{% trans "Volumes per node" %}
{{ node_group.volumes_per_node }}
{% trans "Volumes size" %}
{{ node_group.volumes_size }}
{% trans "Volumes type" %}
{{ node_group.volume_type }}
{% trans "Volumes local to instance" %}
{{ node_group.volume_local_to_instance }}
{% else %}
{% trans "Drive type" %}
{% trans "Ephemeral drive" %}
{% endif %}
{% endfor %}