{% extends 'generic/object.html' %} {% load i18n %} {% load static %} {% block extra_controls %} {% if perms.core.add_job %} {% if object.enabled %}
{% csrf_token %}
{% else %} {% endif %} {% endif %} {% endblock extra_controls %} {% block content %}
Proxmox Endpoint (Cluster)
{% if object.enabled %} Unknown {% else %} {% trans "Disabled" %} {% endif %}
Name {{ object.name }}
Site {% if object.site %} {{ object.site }} {% else %}—{% endif %}
Tenant {% if object.tenant %} {{ object.tenant }} {% else %}—{% endif %}
{% trans "Allowed tenants" %} {% if object.allowed_tenants.exists %}
    {% for tenant in object.allowed_tenants.all %}
  • {{ tenant }}
  • {% endfor %}
{% else %} {% trans "Default visibility" %} {% endif %}
IP Address {{ object.ip_address }}
Port {{ object.port }}
Username {{ object.username }}
Mode {% if object.mode == 'cluster' %} Cluster {% elif object.mode == 'standalone' %} Standalone {% elif object.mode == 'undefined' %} Undefined Sync this endpoint to discover cluster mode. {% else %} {{ object.get_mode_display }} {% endif %}
Environment {% if object.environment == 'production' %} Production {% elif object.environment == 'staging' %} Staging {% elif object.environment == 'development' %} Development {% elif object.environment == 'homologation' %} Homologation {% elif object.environment == 'testing' %} Testing {% elif object.environment == 'lab' %} Lab {% else %} {% endif %}
Target {% if object.enabled %} Loading... {% else %} {% if object.domain %} {{ object.domain }}:{{ object.port }} {% elif object.ip_address %} {{ object.ip_address }}:{{ object.port }} {% else %} {% trans "Disabled" %} {% endif %} {% endif %}
Authentication {% if object.enabled %} Loading... {% else %} {% trans "Disabled" %} {% endif %}
API Access {% if object.enabled %} Loading... {% else %} {% trans "Disabled" %} {% endif %}
{% trans "Proxmox-side writes" %} {% if object.allow_writes %} {% trans "Allowed" %} {% else %} {% trans "Disabled" %} {% endif %}
{% trans "Access method" %} {% if object.access_methods == 'api_ssh' %} {% trans "API + SSH" %} {% else %} {% trans "API only" %} {% endif %}
{% trans "SSH credential source" %} {{ object.get_ssh_credential_source_display }} {% if object.ssh_credential_source == 'reuse_endpoint' %} {% blocktrans trimmed with username=object.effective_ssh_username %} Effective SSH username: {{ username }} {% endblocktrans %} {% endif %}
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %}
{% endblock %}