{% extends 'common/base.html' %} {% load permissions %} {% block title %}::{% if object.name %}{{ object.name }}{% else %}{{ object.dcim_label }}{% endif %}{% endblock %} {% block content %}

{{ object.display_name }} {% if object.type|and_have_access and object.type.name != 'Unknown' %}{{ object.type.name }}{% endif %}

{% if object.facter_location|and_have_access %}

{{ object.facter_location }}

{% endif %} {% if object.orphan_dcim_id and not object.dcim_id %} {% endif %}
Assigned engineer
{% if object.assigned_user %} {{ object.assigned_user.username }} {% else %} unassigned {% endif %}
Assigned group
{% if object.assigned_group %} {{ object.assigned_group.name }} {% else %} unassigned {% endif %}
Responsible engineers
{% for person in object.responsible.all %} {{ person }} {% empty %} none {% endfor %}
{% if object.ssh_link %} {% endif %} {% if ipmi_form %}
{% elif ipmi_link %} {% endif %} {% if object.zabbix_link|and_have_access %} {% endif %} {% if object.jira_issue|and_have_access %} {% endif %} {% if object.dcim_link|and_have_access %} {% endif %}
{% if object.hardware %} {% endif %} {% if object.memory %} {% endif %} {% if object.dcim_label %} {% endif %} {% if object.dcim_jira_issue %} {% endif %} {% if object.jenkins_nodes.all %} {% endif %} {% if object.l2addresses.all %} {% endif %}
Hardware {{ object.hardware|may_not_have_access }}
Memory {{ object.memory|may_not_have_access }}
Related bugs {% include 'inventory/bugs.html' %}
DCIM Label {% if object.dcim_link|and_have_access %} {{ object.dcim_label|may_not_have_access }} {% else %} {{ object.dcim_label|may_not_have_access }} {% endif %}
DCIM Jira Issue {{ object.dcim_jira_issue }}
Associated Jenkins Slave {% for node in object.jenkins_nodes.all %} {{ node.name }} {% if node.instance %} (CI: {{ node.instance.name }} @ {{ node.instance.url }}) {% else %} (no CI specified: orphaned slave) {% endif %} {% if node.offline or node.temporarily_offline %}[offline]{% endif %}
{% endfor %}
MAC address{% if object.l2addresses.all|length > 1 %}es{% endif %}
{% for l2address in object.l2addresses.all %}
{{ l2address|may_not_have_access }}
    {% for port in l2address.switch_ports.all %}
  • {{ port.label|default:port.switch_port_name }} on switch {{ port.switch.label }}
  • {% endfor %}
{% endfor %}
Created {{ object.created|may_not_have_access }}
Modified {{ object.modified|may_not_have_access }}
{% for name, value in attributes %} {% endfor %}
Name Value
{{ name }} {{ value|may_not_have_access }}
{% include 'common/detail_buttons.html' with object_name=object.display_name %} {% endblock content %}