{% extends 'generic/object.html' %} {% load buttons %} {% load helpers %} {% load static %} {% load plugins %} {% block title %}Rack {{ object }}{% endblock %} {% block breadcrumbs %} {{ block.super }} {% if object.location %} {% for location in object.location.get_ancestors %} {% endfor %} {% endif %} {% endblock %} {% block extra_controls %} Previous Next {% endblock %} {% block content %}
Rack
Site {% if object.site.region %} {{ object.site.region }} / {% endif %} {{ object.site }}
Location {% if object.location %} {% for location in object.location.get_ancestors %} {{ location }} / {% endfor %} {{ object.location }} {% 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 %}
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} {% 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.allocated|percentage:powerfeed.available_power %}N/A
{% endif %} {% include 'inc/panels/image_attachments.html' %}
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|annotated_date }}
{% if perms.dcim.change_rackreservation %} {% endif %} {% if perms.dcim.delete_rackreservation %} {% endif %}
{% else %}
None
{% endif %}
{% if perms.dcim.add_rackreservation %} {% endif %}
{% plugin_left_page object %}

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 }}{{ device.parent_bay.device }} {{ device.parent_bay }}
{% else %}
None
{% endif %}
{% if perms.dcim.add_device %} {% endif %}
{% include 'inc/panels/contacts.html' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}