{% extends "base.html" %} {% block body %}
{{ host | shortname }} ({{ cluster }})
{% for vm in slots['allocated'] %} {% endfor %}
NameStatus
{{ vm['name'] }} {% if vm['online'] %} {% if vm['active'] %}
Active
{% else %}
Online
{% endif %} {% else %}
Offline
{% endif %}
ResourceAvailable
Memory{{ (mem['left'] / 1024**3) | round }} GB
Cpu{{ cpu['left'] }}
Slots{{ slots['left'] | length}}

Allocate
{% endblock %}