{% extends '_base.html' %} {% load buttons %} {% load static %} {% load helpers %} {% load custom_links %} {% block title %}{{ device }}{% endblock %} {% block header %}
Site | {% if device.site.region %} {{ device.site.region }} {% endif %} {{ device.site }} |
Rack | {% if device.rack %} {% if device.rack.group %} {{ device.rack.group }} {% endif %} {{ device.rack }} {% else %} None {% endif %} |
Position | {% if device.parent_bay %} {% with device.parent_bay.device as parent %} {{ parent }} {{ device.parent_bay }} {% if parent.position %} (U{{ parent.position }} / {{ parent.get_face_display }}) {% endif %} {% endwith %} {% elif device.rack and device.position %} U{{ device.position }} / {{ device.get_face_display }} {% elif device.rack and device.device_type.u_height %} Not racked {% else %} — {% endif %} |
Tenant | {% if device.tenant %} {% if device.tenant.group %} {{ device.tenant.group }} {% endif %} {{ device.tenant }} {% else %} None {% endif %} |
Device Type | {{ device.device_type.display_name }} ({{ device.device_type.u_height }}U) |
Serial Number | {{ device.serial|placeholder }} |
Asset Tag | {{ device.asset_tag|placeholder }} |
Device | Position | Master | Priority |
---|---|---|---|
{{ vc_member }} | {{ vc_member.vc_position }} | {% if device.virtual_chassis.master == vc_member %}{% endif %} | {{ vc_member.vc_priority|default:"" }} |
Role | {{ device.device_role }} |
Platform | {% if device.platform %} {{ device.platform }} {% else %} None {% endif %} |
Status | {{ device.get_status_display }} |
Primary IPv4 | {% if device.primary_ip4 %} {{ device.primary_ip4.address.ip }} {% if device.primary_ip4.nat_inside %} (NAT for {{ device.primary_ip4.nat_inside.address.ip }}) {% elif device.primary_ip4.nat_outside %} (NAT: {{ device.primary_ip4.nat_outside.address.ip }}) {% endif %} {% else %} — {% endif %} |
Primary IPv6 | {% if device.primary_ip6 %} {{ device.primary_ip6.address.ip }} {% if device.primary_ip6.nat_inside %} (NAT for {{ device.primary_ip6.nat_inside.address.ip }}) {% elif device.primary_ip6.nat_outside %} (NAT: {{ device.primary_ip6.nat_outside.address.ip }}) {% endif %} {% else %} — {% endif %} |
Cluster | {% if device.cluster.group %} {{ device.cluster.group }} {% endif %} {{ device.cluster }} |
Input | Outlets | Allocated | Available | Utilization | ||
---|---|---|---|---|---|---|
{{ pp }} | {{ utilization.outlet_count }} | {{ utilization.allocated }}VA | {% if powerfeed.available_power %}{{ powerfeed.available_power }}VA | {% utilization_graph utilization.allocated|percentage:powerfeed.available_power %} | {% else %}— | — | {% endif %}
Leg {{ leg.name }} | {{ leg.outlet_count }} | {{ leg.allocated }} | {{ powerfeed.available_power|divide:3 }}VA | {% with phase_available=powerfeed.available_power|divide:3 %}{% utilization_graph leg.allocated|percentage:phase_available %} | {% endwith %}