{% extends 'common/base.html' %} {% load racks_tag guardian_tags %} {% block title %}::{{ object.display_name }}{% endblock %} {% block content %} {% get_obj_perms request.user for object as "object_perms" %}

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

{% if object.facter_location %}

{{ object.facter_location|racks_tag }}

{% endif %} {% if not object.name %} {% endif %} {% if 'DCIM' in object.source and not object.dcim %} {% endif %} {% if object.assigned_user or object.assigned_group or object.note %}
{% if object.assigned_user %}
Contact Person
{{ object.assigned_user|racks_tag }}
{% endif %} {% if object.assigned_group %}
Contact Group
{{ object.assigned_group|racks_tag }}
{% endif %} {% if object.note %}
Notes
{{ object.note }}
{% endif %}
{% endif %}
{% if object.ssh_link %} {% endif %} {% if ipmi_form %}
{% elif ipmi_link %} {% endif %} {% if object.zabbix_link %} {% endif %} {% if object.jira_issue %} {% endif %} {% if object.dcim_link %} {% endif %}
{% if object.hardware %} {% endif %} {% if object.memory %} {% endif %} {% if object.bugs %} {% 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 }}
Memory {{ object.memory }}
Related bugs {% include 'inventory/bugs.html' %}
DCIM Label {% if object.dcim_link %} {{ object.dcim_label }} {% else %} {{ object.dcim_label }} {% 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 }}
    {% for port in l2address.switch_ports.all %}
  • {{ port.label|default:port.switch_port_name }} on switch {{ port.switch.label }}
  • {% endfor %}
{% endfor %}
Created {{ object.created }}
Modified {{ object.modified }}
{% include 'common/detail_buttons.html' with object_name=object.display_name %}
{% for name, value in attributes %} {% endfor %}
Name Value
{{ name }} {{ value }}
{% include 'common/permissions_view.html' %}
{% include 'common/partial_history.html' %}
{% endblock content %}