{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_nav %}{% include "gui/vm/navigation.html" with li_details="active" %}{% endblock %} {% block base_content %}{% with json=vm.json alias=vm.alias is_kvm=vm.is_kvm vm_locked=vm.locked|lower %} {% include "gui/mdata_template.html" %} {% if is_kvm %}{% if can_edit or not vm.is_installed %} {% endif %}{% endif %} {% if can_edit %} {% if include_modals %} {% for html_template in include_modals %} {% include html_template %} {% endfor %} {% endif %}
{% csrf_token %}
{% endif %}
{% if not can_edit and not vm.is_installed %}
{% trans "Server is Not Installed" %}

{% trans "The server is marked as not installed. You have to start the server with an ISO image and install your favourite operating system. Please mark the server as installed after you have successfully installed the operating system." %}

{% csrf_token %}
{% endif %}
{% trans "Server is Frozen" %}

{% trans "The server is marked as frozen, which means that it is stopped and cannot be started unless a valid subscription is recognized." %}

{{ alias }} › {% trans "details" %}
{% if json %} {% endif %} {% if mon_sla_enabled %} {% endif %} {% if include_details %} {% for html_template in include_details %} {% include html_template %} {% endfor %} {% endif %} {% with status_display=vm.status_display %} {% endwith %}
{% trans "Name" %}: {{ alias }} 
{% trans "Hostname" %}: {{ vm.hostname }}
{% trans "Owner" %}: {{ vm.owner }}
{% trans "Tags" %}: {{ vm.tags|tagify }}
{% trans "Node" %}: {% if can_edit %}  {{ vm.node.hostname }} {% else %}
 
{% endif %}
{% trans "Template" %}: {% if vm.template %} {{ vm.template.name }}{% endif %}
{% trans "OS Type" %}: {{ vm.get_ostype_display }}
{% trans "VCPUs" %}: {{ vm.vcpus }} x
{% trans "RAM" %}: {{ vm.ram|multiply:1048576|filesizeformat }}
{% trans "SLA" %}: {% now "m/Y" %}     
{% trans "Status" %}:{% trans vm.state %}
{% trans "Start" %} Reboot will send a reboot ACPI signal into the server, which initiates a reboot process. In case the reboot process takes longer than 3 minutes (e.g. there is no ACPI daemon) a Force Reboot will take place." %}" data-modal_force_text="{% trans "Force Reboot will immediately reboot the server." %}" data-modal_yes_text="{% trans "Reboot" %}" data-modal_yes_force_text="{% trans "Force Reboot" %}" title="{% trans "You can choose to forcefully reboot the server or to send a reboot ACPI signal into the system" %}" data-toggle="tooltip" data-placement="top"> {% trans "Reboot" %} Shutdown will send a shutdown ACPI signal into the server, which initiates a shutdown process. In case the shutdown process takes longer than 3 minutes (e.g. there is no ACPI daemon) a Force Shutdown will take place." %}" data-modal_force_text="{% trans "Force shutdown will immediately power off the server." %}" data-modal_yes_text="{% trans "Shutdown" %}" data-modal_yes_force_text="{% trans "Force Shutdown" %}" title="{% trans "You can choose to forcefully shutdown the server or to send a shutdown ACPI signal into the system" %}" data-toggle="tooltip" data-placement="top"> {% trans "Stop" %} {% if is_kvm %}{% if can_edit or not vm.is_installed %} {% trans "Boot CD" %} {% else %} {% trans "Rescue CD" %} {% endif %}{% endif %} completely delete the server and its snapshots and create it like it was on the first time. All your data will be lost!" %}" data-modal_yes_text="{% trans "Reset" %}" data-modal_yes_force_text="{% blocktrans %}Recreate {{ alias }}{% endblocktrans %}" data-modal_confirm_text="{% trans "Are you sure that you want completely delete your server data?" %}" title="{% trans "Recreate the server. The server needs to be stopped in order to use this function. Use with caution!" %}" data-toggle="tooltip" data-placement="top" > {% trans "Factory reset" %}
{% if can_edit %}

Update & Start will first update the server configuration on compute node and then start the server." %}" data-modal_yes_text="{% trans "Update & Start" %}" data-modal_force_text="{% trans "Start (no update) will just start the server without modifying the server configuration on compute node." %}" data-modal_yes_force_text="{% trans "Start (skip update)" %}" data-modal_title="{% trans "Start and update Server" %}"> {% trans "Update" %}
{% trans "Undo" %} {% trans "Deploy" %} {% trans "Delete" %} Destroy will completely delete the server and its snapshots from the compute node. All your data will be lost!" %}" data-modal_yes_text="{% trans "Destroy" %}" data-modal_yes_force_text="{% blocktrans %}Really destroy {{ alias }}{% endblocktrans %}" data-modal_confirm_text="{% trans "Are you sure that you want completely delete your server data?" %}" title="{% trans "Delete server and its data from compute node. Use with caution!" %}" data-toggle="tooltip" data-placement="bottom" > {% trans "Destroy" %} Freeze will send a shutdown signal into the server, which can initiate a shutdown process. In case the shutdown process takes longer than 3 minutes a Force Shutdown will take place." %}" data-modal_force_text="{% trans "Force Freeze will immediately power off the server.

After the shutdown process is completed the server status will be set to frozen." %}" data-modal_yes_text="{% trans "Freeze" %}" data-modal_yes_force_text="{% trans "Force Freeze" %}" title="{% trans "Shutdown the server and set its status to frozen" %}" data-toggle="tooltip" data-placement="bottom"> {% trans "Freeze" %}
{% trans "Unfreeze" %} {% trans "Migrate" %} {% if include_buttons %} {% for html_template in include_buttons %} {% include html_template %} {% endfor %} {% endif %}
{% endif %}
{% if json %}
{{ alias }} › {% trans "networks" %}
{% if is_kvm %} {% endif %} {% for nic in vm_nics %}{% with ip=nic.ip ptr=vm|record_PTR:nic.ip %} {% if is_kvm %} {% endif %} {% with netmask=nic|keyvalue:"netmask" %}{% endwith %} {% if is_kvm %}{% endif %} {% endwith %}{% endfor %} {% if can_edit and vm_nics|length < nic_settingsform.max_nics %} {% endif %}
{% trans "ID" %}{% trans "Model" %}{% trans "IP" %} / {% trans "Netmask" %} {% trans "Gateway" %} {% trans "Network" %}
{% if can_edit %}{{ nic.nic_id }} {% else %}{{ nic.nic_id }}{% endif %}{{ nic.model }}{% if ip %}{{ ip|cidr:netmask }}{% endif %}{{ nic.gateway|default:"" }} {{ nic.net }}{% if not ip %} {% endif %}
{% if ptr %} {{ ptr.content }} {% endif %}
{% trans "Add NIC" %}
{% with vm_disks_length=vm_disks|length %}
{{ alias }} › {% trans "disks" %}
{% if is_kvm %} {% else %} {% endif %} {% if can_edit %} {% else %} {% endif %} {% for disk in vm_disks %} {% if is_kvm %} {% else %} {% endif %} {% if is_kvm %} {% elif forloop.first %} {% endif %} {% if can_edit %} {% if is_kvm %} {% elif forloop.first %} {% endif %} {% else %} {% endif %} {% endfor %} {% if can_edit and vm_disks_length < disk_settingsform.max_disks %} {% endif %}
{% trans "ID" %}{% trans "Model" %}{% trans "FS" %}{% trans "Size" %} {% trans "Image" %}{% trans "Storage" %} {% trans "Compression" %}{% trans "Bootable" %}
{% if can_edit %}{{ disk.disk_id }} {% else %}{{ disk.disk_id }}{% endif %}{{ disk.model }}{{ vm.DISK_FS|keyvalue:disk.disk_id }}{{ disk.size|multiply:1048576|filesizeformat }}{{ disk.size|multiply:1048576|filesizeformat }}{% if disk.image %}{{ disk.image }}{% else %}{% trans "(none)" %}{% endif %}{{ disk.zpool }}{{ disk.zpool }}{{ disk.compression }}
{% trans "Add Disk" %}
{% endwith %} {% endif %}
{% endwith %}{% endblock %}