{% extends 'generic/object.html' %} {% load buttons %} {% load helpers %} {% load static %} {% load plugins %} {% block title %}Rack {{ object }}{% endblock %} {% block breadcrumbs %} {{ block.super }}
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 %} |
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 %} |
Panel | Feed | Status | Type | Utilization | |
---|---|---|---|---|---|
{{ powerfeed.power_panel.name }} | {{ powerfeed.name }} | {{ powerfeed.get_status_display }} | {{ powerfeed.get_type_display }} | {% with power_port=powerfeed.connected_endpoint %} {% if power_port %}{% utilization_graph power_port.get_power_draw.allocated|percentage:powerfeed.available_power %} | {% else %}N/A | {% endif %} {% endwith %}
Units | Tenant | Description | |
---|---|---|---|
{{ resv.unit_list }} | {% if resv.tenant %} {{ resv.tenant }} {% else %} None {% endif %} |
{{ resv.description }} {{ resv.user }} · {{ resv.created|annotated_date }} |
Name | Role | Type | Parent Device | |||
---|---|---|---|---|---|---|
{{ device }} | {{ device.device_role }} | {{ device.device_type }} | {% if device.parent_bay %}{{ device.parent_bay.device }} | {{ device.parent_bay }} | {% else %}— | {% endif %}