{% extends '_base.html' %} {% load helpers %} {% block title %}{{ devicetype.manufacturer }} {{ devicetype.model }}{% endblock %} {% block header %}
{% if perms.dcim.change_devicetype or perms.dcim.delete_devicetype %}
{% if perms.dcim.change_devicetype %}
Edit this device type {% endif %} {% if perms.dcim.delete_devicetype %} Delete this device type {% endif %}
{% endif %}

{{ devicetype.manufacturer }} {{ devicetype.model }}

{% include 'inc/created_updated.html' with obj=devicetype %} {% endblock %} {% block content %}
Chassis
Manufacturer {{ devicetype.manufacturer }}
Model Name {{ devicetype.model }}
Part Number {% if devicetype.part_number %} {{ devicetype.part_number }} {% else %} N/A {% endif %}
Height (U) {{ devicetype.u_height }}
Full Depth {% if devicetype.is_full_depth %} {% else %} {% endif %}
Parent/Child {% if devicetype.subdevice_role == True %} {% elif devicetype.subdevice_role == False %} {% else %} N/A {% endif %}
Interface Ordering {{ devicetype.get_interface_ordering_display }}
Instances {{ devicetype.instances.count }}
{% include 'inc/custom_fields_panel.html' with obj=devicetype %} {% include 'extras/inc/tags_panel.html' with tags=devicetype.tags.all url='dcim:devicetype_list' %}
Comments
{% if devicetype.comments %} {{ devicetype.comments|gfm }} {% else %} None {% endif %}
{% if devicetype.console_port_templates.exists or devicetype.power_port_templates.exists %}
{% include 'dcim/inc/devicetype_component_table.html' with table=consoleport_table title='Console Ports' add_url='dcim:devicetype_add_consoleport' delete_url='dcim:devicetype_delete_consoleport' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=powerport_table title='Power Ports' add_url='dcim:devicetype_add_powerport' delete_url='dcim:devicetype_delete_powerport' %}
{% endif %} {% if devicetype.is_parent_device or devicebay_table.rows %}
{% include 'dcim/inc/devicetype_component_table.html' with table=devicebay_table title='Device Bays' add_url='dcim:devicetype_add_devicebay' delete_url='dcim:devicetype_delete_devicebay' %}
{% endif %} {% if devicetype.cs_port_templates.exists %}
{% include 'dcim/inc/devicetype_component_table.html' with table=consoleserverport_table title='Console Server Ports' add_url='dcim:devicetype_add_consoleserverport' delete_url='dcim:devicetype_delete_consoleserverport' %}
{% endif %} {% if devicetype.interface_templates.exists %}
{% include 'dcim/inc/devicetype_component_table.html' with table=interface_table title='Interfacaes' add_url='dcim:devicetype_add_interface' delete_url='dcim:devicetype_delete_interface' %}
{% endif %} {% if devicetype.power_outlet_templates.exists %}
{% include 'dcim/inc/devicetype_component_table.html' with table=poweroutlet_table title='Power Outlets' add_url='dcim:devicetype_add_poweroutlet' delete_url='dcim:devicetype_delete_poweroutlet' %}
{% endif %} {% if devicetype.front_port_templates.exists or devicetype.rear_port_templates.exists %}
{% include 'dcim/inc/devicetype_component_table.html' with table=front_port_table title='Front Ports' add_url='dcim:devicetype_add_frontport' delete_url='dcim:devicetype_delete_frontport' %}
{% include 'dcim/inc/devicetype_component_table.html' with table=rear_port_table title='Rear Ports' add_url='dcim:devicetype_add_rearport' delete_url='dcim:devicetype_delete_rearport' %}
{% endif %} {% endblock %}