{% extends 'common/base.html' %} {% load permissions %} {% block title %}::{{ object.label }}{% endblock %} {% block content %}
{% if object.locations|length == 1 %} {{ object.locations.0 }} {% elif object.locations|length > 1 %} {% for location in object.locations %} {{ location }} {% endfor %} {% endif %}
Port # | Label | Name | DCIM Connection | Racks Connections |
---|---|---|---|---|
{{ port.number }} | {{ port.label }} | {{ port.switch_port_name }} | {% if port.dcim_device_type == DCIM_SERVER %} Server ID {{ port.dcim_server_id }} {% elif port.dcim_device_type == DCIM_SWITCH %} Switch ID {{ port.dcim_server_id }} {% elif port.dcim_device_type %} unknown device ID {{ port.dcim_server_id }} {% else %} available {% endif %} |
{% if port.l2addresses.all %}
|