{% extends "layouts/content-bootstrap.html" %} {% load django_tables2 %} {% block styles %} {% endblock %} {% block content %} {% if device.device_type.owners_only %}

{{ device.device_type.name }} is a hidden device type.

Only owners of one or more devices of type {{ device.device_type }} can see this information.
{% endif %} {% block device_heading %}{% endblock %}
Hostname
{{ device.hostname }}
Type
{{ device.device_type }}
{% if device.is_pipeline %}
Configuration
Device Dictionary
{% endif %}
Description
{{ device.get_description|default:"None"|truncatewords_html:200|wordwrap:80|linebreaksbr }}
Tags
{% for tag in device.tags.all %}
{{ tag.name }} {% if tag.description %} (?) {% endif %}
{% empty %}
None
{% endfor %}
Version
{{ device.device_version|default:"Unknown" }}
Owner (?)
{% if device.user %} {{ device.user.email }} {% elif device.group %} Group {{ device.group }} {% else %} Unrestricted {% endif %}
Physical access (?)
{% if device.physical_owner %} {{ device.physical_owner.email }} {% elif device.physical_group %} Group {{ device.physical_group }} {% else %} Unknown {% endif %}
{% if not device.temporarydevice %}
Worker
{% if device.too_long_since_last_heartbeat %} {% else %} {% endif %} {% if device.worker_host.is_master %} {{ device.worker_host.hostname }} {% else %} {{ device.worker_host.hostname }} {% endif %}
{% endif %} {% if exclusive %}
Exclusive
pipeline jobs only.
{% elif pipeline %}
Pipeline
{{ device.hostname }} accepts both pipeline and JSON jobs.
{% else %}
Pipeline
False. JSON jobs only.
{% endif %}
Status
{{ device.get_status_display }} {% if transition %} (reason: {{ transition }}) {% endif %} {% if device.current_job %} (Job {{ device.current_job.pk }}) {% endif %}
{% if device.device_type.name != 'dynamic-vm' %}
Health
{{ device.get_health_status_display }}
Checks/failures
Graphical reports
{% endif %}
{% if show_maintenance %}
{% endif %} {% if cancel_looping %}
{% endif %} {% if show_online %}
{% endif %} {% if show_forcehealthcheck %}
{% csrf_token %}
{% endif %}
{% if user.is_authenticated and user.is_superuser %} {% endif %} {% if edit_description %}
{% endif %} {% if show_restrict %}
{% endif %} {% if show_pool %}
{% endif %}
{% block content_columns %} {% endblock %}

Status transitions

{% render_table transition_table %} {% endblock %} {% block scripts %} {% endblock %}