{% extends 'generic/object_detail.html' %} {% load helpers %} {% load static %} {% block extra_breadcrumbs %}
  • {{ object.site }}
  • {% if object.group %} {% for group in object.group.get_ancestors %}
  • {{ group }}
  • {% endfor %}
  • {{ object.group }}
  • {% endif %} {% endblock extra_breadcrumbs %} {% block extra_buttons %} Previous Rack Next Rack {% endblock extra_buttons %} {% block title %}Rack {{ object }}{% endblock title %} {% block content_left_page %}
    Rack
    Site {% if object.site.region %} {{ object.site.region }} / {% endif %} {{ object.site }}
    Group {% if object.group %} {% for group in object.group.get_ancestors %} {{ group }} / {% endfor %} {{ object.group }} {% else %} None {% endif %}
    Facility ID {{ object.facility_id|placeholder }}
    Tenant {% if object.tenant %} {% if object.tenant.group %} {{ object.tenant.group }} / {% endif %} {{ object.tenant }} {% else %} None {% endif %}
    Status {{ object.get_status_display }}
    Role {% if object.role %} {{ object.role }} {% else %} None {% endif %}
    Serial Number {{ object.serial|placeholder }}
    Asset Tag {{ object.asset_tag|placeholder }}
    Devices {{ device_count }}
    Space Utilization {% utilization_graph object.get_utilization %}
    Power Utilization {% utilization_graph object.get_power_utilization %}
    Dimensions
    Type {% if object.type %} {{ object.get_type_display }} {% else %} None {% endif %}
    Width {{ object.get_width_display }}
    Height {{ object.u_height }}U ({% if object.desc_units %}descending{% else %}ascending{% endif %})
    Outer Width {% if object.outer_width %} {{ object.outer_width }} {{ object.get_outer_unit_display }} {% else %} {% endif %}
    Outer Depth {% if object.outer_depth %} {{ object.outer_depth }} {{ object.get_outer_unit_display }} {% else %} {% endif %}
    Comments
    {% if object.comments %} {{ object.comments|render_markdown }} {% else %} None {% endif %}
    {% if power_feeds %}
    Power Feeds
    {% for powerfeed in power_feeds %} {% with power_port=powerfeed.connected_endpoint %} {% if power_port %} {% else %} {% endif %} {% endwith %} {% endfor %}
    Panel Feed Status Type Utilization
    {{ powerfeed.power_panel.name }} {{ powerfeed.name }} {{ powerfeed.get_status_display }} {{ powerfeed.get_type_display }} {% utilization_graph power_port.get_power_draw.utilization_data %}N/A
    {% endif %}
    Images
    {% include 'inc/image_attachments.html' with images=object.images.all %} {% if perms.extras.add_imageattachment %} {% endif %}
    Reservations
    {% if reservations %} {% for resv in reservations %} {% endfor %}
    Units Tenant Description
    {{ resv.unit_list }} {% if resv.tenant %} {{ resv.tenant }} {% else %} None {% endif %} {{ resv.description }}
    {{ resv.user }} · {{ resv.created }}
    {% if perms.dcim.change_rackreservation %} {% endif %} {% if perms.dcim.delete_rackreservation %} {% endif %}
    {% else %}
    None
    {% endif %} {% if perms.dcim.add_rackreservation %} {% endif %}
    {% endblock content_left_page %} {% block content_right_page %}

    Front

    {% include 'dcim/inc/rack_elevation.html' with face='front' %}

    Rear

    {% include 'dcim/inc/rack_elevation.html' with face='rear' %}
    Non-Racked Devices
    {% if nonracked_devices %} {% for device in nonracked_devices %} {% if device.parent_bay %} {% else %} {% endif %} {% endfor %}
    Name Role Type Parent Device
    {{ device }} {{ device.device_role }} {{ device.device_type.display }}{{ device.parent_bay.device }} {{ device.parent_bay }}
    {% else %}
    None
    {% endif %} {% if perms.dcim.add_device %} {% endif %}
    {% endblock content_right_page %} {% block javascript %} {% endblock javascript %}