{% extends '_base.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% block title %}{{ devicetype }}{% endblock %} {% block content %}
{% if perms.dcim.change_devicetype %}
Edit this device type {% endif %} {% if perms.dcim.delete_devicetype %} Delete this device type
{% endif %}

{{ devicetype }}

Chassis
Manufacturer {{ devicetype.manufacturer }}
Model Name {{ devicetype.model }}
Height (U) {{ devicetype.u_height }}
Full Depth {{ devicetype.is_full_depth|yesno|capfirst }}
Function
Is a Console Server {{ devicetype.is_console_server|yesno|capfirst }}
Is a PDU {{ devicetype.is_pdu|yesno|capfirst }}
Is a Network Device {{ devicetype.is_network_device|yesno|capfirst }}
Console Ports
{% for cp in devicetype.console_port_templates.all %} {% endfor %}
{{ cp.name }}
Power Ports
{% for pp in devicetype.power_port_templates.all %} {% endfor %}
{{ pp.name }}
Interfaces
{% for iface in devicetype.interface_templates.all %} {% endfor %}
{{ iface.name }} {{ iface.get_form_factor_display }} {{ iface.mgmt_only|yesno|capfirst }}
Console Server Ports
{% for csp in devicetype.cs_port_templates.all %} {% endfor %}
{{ csp.name }}
Power Outlets
{% for po in devicetype.power_outlet_templates.all %} {% endfor %}
{{ po.name }}
{% endblock %}