{% extends 'generic/object.html' %}
{% load i18n %}
{% block content %}
{% if object.provider != "vmware" %}
{% trans "This is a legacy Proxmox endpoint from an older plugin version. Proxmox sync is no longer supported; this endpoint can be deleted." %}
{% endif %}
| {% trans "Name" %} |
{{ object.name }} |
| {% trans "Provider" %} |
{{ object.get_provider_display }} |
| {% trans "Host" %} |
{{ object.host }}:{{ object.port }} |
| {% trans "Username" %} |
{{ object.username }} |
| {% trans "Enabled" %} |
{% if object.enabled %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %} |
| {% trans "Validate SSL" %} |
{% if object.validate_ssl %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %} |
| {% trans "Tenant" %} |
{{ object.tenant|default:"-" }} |
| {% trans "Site" %} |
{{ object.site|default:"-" }} |
| {% trans "Cluster" %} |
{{ object.cluster }} |
| {% trans "Sync interval" %} |
{% if object.sync_interval_minutes %}{{ object.sync_interval_minutes }}{% else %}{% trans "Manual only" %}{% endif %} |
| {% trans "Next sync" %} |
{{ object.next_sync_at|default:"-" }} |
| {% trans "Last status" %} |
{{ object.get_last_status_display }} |
| {% trans "Last sync" %} |
{{ object.last_sync_at|default:"-" }} |
| {% trans "Last success" %} |
{{ object.last_success_at|default:"-" }} |
| {% trans "VMs" %} |
{% blocktrans with total=object.last_vm_count created=object.last_created_count updated=object.last_updated_count errors=object.last_error_count %}{{ total }} total, {{ created }} created, {{ updated }} updated, {{ errors }} errors{% endblocktrans %} |
| {% trans "Message" %} |
{{ object.last_message|default:"-" }} |
{% if object.provider == "vmware" %}
{% if perms.netbox_vmware_importer.change_vcenterendpoint %}
{% endif %}
{% endif %}
| {% trans "Include regex" %} |
{{ object.include_name_regex|default:"-" }} |
| {% trans "Exclude regex" %} |
{{ object.exclude_name_regex|default:"-" }} |
| {% trans "Powered off VMs" %} |
{% if object.sync_powered_off %}{% trans "Synced" %}{% else %}{% trans "Skipped" %}{% endif %} |
| {% trans "Interfaces/IPs" %} |
{% if object.sync_interfaces %}{% trans "Interfaces on" %}{% else %}{% trans "Interfaces off" %}{% endif %} / {% if object.sync_ip_addresses %}{% trans "IPs on" %}{% else %}{% trans "IPs off" %}{% endif %} |
{% if object.comments %}
{{ object.comments|linebreaksbr }}
{% endif %}
{% endblock content %}