{% extends "layouts/content.html" %} {% load static %} {% load utils %} {% block styles %} {% endblock %} {% block content %}

Job definition file - {% if job.is_multinode %}{{ job.sub_id|default:job.id }}{% else %}{{ job.id }}{% endif %} download

{% if job.is_multinode %} {{ job.sub_id|default:job.id }} is part of a multinode job. Use the Multinode Definition to resubmit. {% endif %}
{% if job.actual_device %}
Name
{{ job.actual_device.hostname }} (reports)
{% endif %} {% if job.requested_device_type %}
Requested type
{{ job.requested_device_type }} (reports)
{% endif %}
{% if job.is_multinode %}
{% for subjob in job.sub_jobs_list %}
{{ subjob.sub_id|default:job.id }} {% if '0' in subjob.sub_id and '0' not in job.sub_id %} (?) {% endif %}
{% if subjob.actual_device.hostname %} on: {{ subjob.actual_device.hostname }} as: {{ subjob.device_role }}  {% else %} No device assigned as {{ subjob.device_role }}.
{% endif %} {% endfor %}
{% endif %}
Copy to clipboard

{% with job.display_definition|split_definition as definition_data %} {% for line in definition_data %}
{{ forloop.counter }}
{{ line.rstrip|replace_python_unicode }}
{% endfor %} {% endwith %} {% endblock content %} {% block scripts %} {% endblock %}