{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_nav %}{% include "gui/node/navigation.html" with li_details="active" %}{% endblock %} {% block base_content %} {% if modals %}{% for template in modals %}{% include template %}{% endfor %}{% endif %} {# used by esdc-ee-eslic #}
{{ node.hostname }} › {% trans "details" %}
{% with sysinfo=node.sysinfo %} {% with up=node.boottime|uptime %} {% endwith %} {% endwith %} {% if mon_sla_enabled %} {% endif %} {% if details_rows %}{% for template in details_rows %} {# used by esdc-ee-eslic #} {% include template %} {% endfor %}{% endif %}
{% trans "Hostname" %}: {{ node.hostname }} {% trans "Edit" %}
{% trans "IP address" %}: {{ node.address }}
{% trans "Owner" %}: {{ node.owner }}
{% trans "Capabilities" %}: {% trans "Compute" %}: {% trans "Backup" %}:
{% trans "CPUs / Free" %}: {{ node.cpu_total }} x ({{ node.cpu }} * {{ node.cpu_coef }}) {{ node.cpu_free }} x
{% trans "RAM / Free / " %}{% trans "Overhead" %}: {{ node.ram_total }} MB ({{ node.ram }} * {{ node.ram_coef }}) {{ node.ram_free }} MB {{ node.ram_kvm_overhead }} MB
{% trans "Manufacturer" %}: {{ sysinfo.Manufacturer }}
{% trans "Product" %}: {{ sysinfo.Product }}
{% trans "Serial Number" %}: {{ sysinfo|keyvalue:"Serial Number" }}
{% trans "CPU Type" %}: {{ sysinfo|keyvalue:"CPU Physical Cores" }} * {{ node.sysinfo|keyvalue:"CPU Type" }}
{% trans "Uptime" %}: {% blocktrans with hms=up.seconds|timeformat count days=up.days %} {{ days }} day, {{ hms }} {% plural %} {{ days }} days, {{ hms }} {% endblocktrans %}
{% trans "Datacenters" %}: {{ node_dcs|dcify }}
{% trans "Servers" %}: {{ node_vms }} ({{ node_real_vms }})
{% trans "SLA" %}: {% now "m/Y" %}     
{% trans "Status" %}: {{ node.get_status_display }}
{% trans "Note" %}: {{ node.note }}
{% trans "Refresh" %} {% if node_controls %}{% for template in node_controls %} {# used by esdc-ee-eslic #} {% include template %} {% endfor %}{% endif %}
{% with net_aggr=node.network_aggregations net_iface=node.network_interfaces net_vnic=node.virtual_network_interfaces %}
{{ node.hostname }} › {% trans "network interfaces" %}
{% for aggr_name, aggr in net_aggr.items %}{% with aggr_iface=net_iface|pop:aggr_name rowspan=aggr.Interfaces|length %} {% for iface_name in aggr.Interfaces %}{% with iface=net_iface|pop:iface_name %} {% if forloop.first %} {% endif %} {% endwith %}{% endfor %}{% endwith %}{% endfor %} {% for iface_name, iface in net_iface.items %} {% endfor %}
{% trans "Name" %} {% trans "MAC address" %} {% trans "Aggregation" %} {% trans "IP address" %} {% trans "NIC tags" %}
{{ iface_name }} {{ iface|keyvalue:"MAC Address" }}{{ aggr_name }} ({{ aggr|keyvalue:"LACP mode" }}) {{ aggr_iface.ip4addr }} {{ aggr_iface|keyvalue:"NIC Names"|join:", " }}
{{ iface_name }} {{ iface|keyvalue:"MAC Address" }} - {{ iface.ip4addr }} {{ iface|keyvalue:"NIC Names"|join:", " }}
{% if net_vnic %}
{{ node.hostname }} › {% trans "virtual network interfaces" %}
{% for vnic_name, vnic in net_vnic.items %} {% endfor %}
{% trans "Name" %} {% trans "MAC address" %} {% trans "Interface" %} {% trans "IP address" %} {% trans "VLAN" %}
{{ vnic_name }} {{ vnic|keyvalue:"MAC Address" }} {{ vnic|keyvalue:"Host Interface" }} {{ vnic.ip4addr }} {{ vnic.VLAN }}
{% endif %}{% endwith %} {% with zpools=node.zpools diskinfo=node.diskinfo %}
{{ node.hostname }} › {% trans "disk pools" %}
{% for zpool_name, zpool in zpools.items %} {% endfor %}
{% trans "Name" %} {% trans "Size" %} {% trans "Disk Configuration" %}
{{ zpool_name }} {{ zpool.size|multiply:1048576|filesizeformat }}
    {% for zpool_cfg, zpool_groups in zpool.config.items %}
  • {{ zpool_cfg }}
      {% for group_name, disks in zpool_groups.items %}
    • {{ group_name }}
        {% for disk_name in disks %}{% with disk=diskinfo|keyvalue:disk_name %}
      • {{ disk_name }}: {{ disk.size|multiply:1048576|filesizeformat }} ({{ disk.VID }} {{ disk.PID }})
      • {% endwith %}{% endfor %}
    • {% endfor %}
  • {% endfor %}
{% endwith %}
{% endblock %}