{% extends 'generic/object_retrieve.html' %} {% load helpers %} {% load static %} {% block extra_buttons %} Previous Rack Next Rack {% endblock extra_buttons %} {% block title %}Rack {{ object }}{% endblock title %} {% block panel_buttons %} {% endblock panel_buttons %} {% block content_left_page %}
Rack
{% include 'inc/tenant_table_row.html' %}
Location {% include 'dcim/inc/location_hierarchy.html' with location=object.location %}
Rack Group {% if object.rack_group %} {% for rack_group in object.rack_group.ancestors %} {{ rack_group|hyperlinked_object }} / {% endfor %} {% endif %} {{ object.rack_group|hyperlinked_object }}
Facility ID {{ object.facility_id|placeholder }}
Status {{ object.status| hyperlinked_object_with_color }}
Role {{ object.role | hyperlinked_object_with_color }}
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 %} {% with utilization=power_port.get_power_draw %} {% if utilization %} {% if powerfeed.available_power > 0 %} {% endif %} {% endif %} {% endwith %} {% else %} {% endif %} {% endwith %} {% endfor %}
Panel Feed Status Type Utilization
{{ powerfeed.power_panel|hyperlinked_object }} {{ powerfeed|hyperlinked_object }} {{ powerfeed.get_status_display }} {{ powerfeed.get_type_display }} {% utilization_graph_raw_data utilization.allocated powerfeed.available_power %}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 }} {{ resv.tenant|hyperlinked_object }} {{ 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|hyperlinked_object }} {{ device.role }} {{ device.device_type.display }}{{ device.parent_bay.device|hyperlinked_object }} {{ device.parent_bay }}
{% else %}
None
{% endif %} {% if perms.dcim.add_device %} {% endif %}
{% endblock content_right_page %} {% block javascript %} {{block.super}} {% endblock javascript %}