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

{% trans "Cluster Overview" %}

{% trans "Name" %}
{{ cluster.name }}
{% trans "ID" %}
{{ cluster.id }}
{% trans "Description" %}
{{ cluster.description|default:_("None") }}
{% trans "Status" %}
{{ cluster.status }}
{% if cluster.error_description %}

{% trans "Error Details" %}

{{ cluster.error_description }}

{% endif %}
{% trans "Plugin" %}
{{ cluster.plugin_name }}
{% trans "Version" %}
{{ cluster.hadoop_version }}
{% trans "Template" %}
{% if cluster_template %}
{{ cluster_template.name }}
{% else %}
{% trans "Template not specified" %}
{% endif %}
{% trans "Base Image" %}
{{ base_image.name }}
{% if network %}
{% trans "Neutron Management Network" %}
{{ network }}
{% endif %}
{% trans "Keypair" %}
{{ cluster.user_keypair_id }}
{% trans "Anti-affinity enabled for" %}
{% if cluster.anti_affinity %}
    {% for process in cluster.anti_affinity %}
  • {{ process }}
  • {% endfor %}
{% else %}
{% trans "no processes" %}
{% endif %}
{% trans "Node Configurations" %}
{% if cluster.cluster_configs %}
{% for service, service_conf in cluster.cluster_configs.items %}

{{ service }}

{% if service_conf %}
    {% for conf_name, conf_value in service_conf.items %}
  • {% blocktrans %}{{ conf_name }}: {{ conf_value }}{% endblocktrans %}
  • {% endfor %}
{% else %}
{% trans "No configurations" %}
{% endif %} {% endfor %}
{% else %}
{% trans "Cluster configurations are not specified" %}
{% endif %}
{% for info_key, info_val in cluster.info.items %}
{{ info_key }}
{% for key, val in info_val.items %}
{% autoescape off %}{% blocktrans %}{{ key }}: {{ val }}{% endblocktrans %}{% endautoescape %}
{% endfor %} {% endfor %}