{% extends "base.html" %} {% block body %}
Name | State |
---|---|
{{ vm['name'] }} |
{% if vm['online'] %}
{% if vm['active'] %}
Active
{% else %}
Online
{% endif %}
{% else %}
Offline
{% endif %}
|
Name | Memory | Cpu | Slots |
---|---|---|---|
{{ host['host'] | shortname }} | {{ (host['mem']['left'] / 1024**3) | round }} / {{ host['mem']['total'] / 1024**3 | round }} | {{ host['cpu']['left'] }} / {{ host['cpu']['total'] }} | {% set total = (host['slots']['left'] + host['slots']['allocated']) | length %} {{ host['slots']['left'] | length }} / {{ total }} |