{% extends 'layout.html' %} {% block title %}{{hostname}}{% endblock %} {% block content %}

{{hostname|replace('.spline.inf.fu-berlin.de', '')}}

{% if description is defined %}
{{description}}
{% endif %}
hostname
{{hostname}}
os
{{os|default('unknown')}}
arch
{{arch|default('unknonw')}}
{% if vserver %}
vserver
{{vserver}}
{% endif %} {% if vserver_host %}
vserver_host
{{vserver_host}}
{% endif %} {% if maintainers is iterable %}
maintainers
{% for maintainer in maintainers %} {% set name, mail = get_contact_info(maintainer) %} {{name}} {% if not loop.last %}, {% endif %} {% endfor %}
{% endif %} {% if groups is defined %}
bcfg2-groups
{% for group in groups %} {{group}}{% if not loop.last %}, {% else %}
{% endif %} {% endfor %} view client in bcfg2
{% endif %}
{% if addresses %} {% for group in addresses | select_with_attribute('vserver', False) | groupby('interface') %}

{{ group.grouper }}

    {% for address in group.list %}
  • {{address['address']}}/{{address['netmask']}}
  • {% else %}
  • no address
  • {% endfor %}
{% else %}

no network interfaces

{% endfor %} {% endif %}
{% set ports = ports or [] %} {% for port in ports %} {% else%} {% endfor %}
Port IP Process Protocol
{{port['port']}} {{port['ip']}} {{port['process']}} {{port['proto']}}
no ports open
{% if services is defined %} {% for service_category in services %} {% if services[service_category] is iterable %} {% for service in services[service_category] %} {% endfor %} {% endif %} {% else %} {% endfor %}
Name Port Visibility
{% if service is string %} {{service}} {% else %} {{service.items()[0][0]}} {% endif %} {% if service is string %} default {% else %} {{service.items()[0][1]}} {% endif %} {{service_category}}
no services provoided
{% endif %}
{% endblock %}