{% extends 'base/layout.html' %} {% block title %}{{ vm.name }} - Permissions Synchronization{% endblock %} {% block header %} {{ block.super }} {% endblock %} {% block content %}

Virtual Machine Information

Name:{{ vm.name }}
Tenant:{% if vm.tenant_name %}{{ vm.tenant_name }}{% else %}None{% endif %}
Tenant Permissions (RW): {% if vm.tenant_permissions %}{{ vm.tenant_permissions }}{% else %}Not set{% endif %}
Tenant Permissions (RO): {% if vm.tenant_permissions_ro %}{{ vm.tenant_permissions_ro }}{% else %}Not set{% endif %}

Status

Interfaces total: {{ interfaces_total }} — needing sync: {{ interfaces_to_sync|length }} — synced: {{ interfaces_synced|length }}

Virtual disks total: {{ disks_total }} — needing sync: {{ disks_to_sync|length }} — synced: {{ disks_synced|length }}

{% if interfaces_to_sync or disks_to_sync %}

Objects Needing Synchronization

{% if interfaces_to_sync %}
Interfaces
{% for i in interfaces_to_sync %} {% endfor %}
NameTenantPermissions (RW)Permissions (RO)Status
{{ i.name }} {% if i.tenant_name %}{{ i.tenant_name }}{% else %}None{% endif %} {% if i.tenant_permissions %}{{ i.tenant_permissions }}{% else %}Not set{% endif %} {% if i.tenant_permissions_ro %}{{ i.tenant_permissions_ro }}{% else %}Not set{% endif %} Mismatch
{% endif %} {% if disks_to_sync %}
Virtual Disks
{% for d in disks_to_sync %} {% endfor %}
NameTenantPermissions (RW)Permissions (RO)Status
{{ d.name }} {% if d.tenant_name %}{{ d.tenant_name }}{% else %}None{% endif %} {% if d.tenant_permissions %}{{ d.tenant_permissions }}{% else %}Not set{% endif %} {% if d.tenant_permissions_ro %}{{ d.tenant_permissions_ro }}{% else %}Not set{% endif %} Mismatch
{% endif %}
{% csrf_token %}
{% else %}
All VM interfaces and disks are already synchronized with the VM permissions!
{% endif %} {% endblock %}