{% load i18n sizeformat %} {% load url from future %}

{% trans "Node Groups" %}

{% for node_group in template.node_groups %}

{% trans "Node Group" %}: {{ node_group.name }}

{% trans "Nodes Count" %}
{{ node_group.count }}
{% trans "Flavor" %}
{{ node_group.flavor_id|default:_("Flavor is not specified") }}
{% trans "Template" %}
{% if node_group.node_group_template_id %}
{{ node_group.node_group_template.name }}
{% else %}
{% trans "Template not specified" %}
{% endif %}
{% trans "Auto Security Group" %}
{{ node_group.auto_security_group|yesno }}
{% trans "Security Groups" %}
    {% for group in node_group.security_groups %}
  • {{ group }}
  • {% 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 "Node Configurations" %}
{% if node_group.node_configs %}
{% for service, service_conf in node_group.node_configs.items %}
{{ service }}
{% if service_conf %}
    {% for conf_name, conf_value in service_conf.items %}
  • {{ conf_name }}: {{ conf_value }}
  • {% endfor %}
{% else %}
{% trans "No configurations" %}
{% endif %} {% endfor %}
{% else %}
{% trans "Node configurations are not specified" %}
{% endif %}
{% endfor %}