{% extends "base.html" %} {% block title %}Device Roles - Network Management{% endblock %} {% block head_extra %} {% endblock %} {% block content %}
{{ stats.total_roles }}
Total Roles
{{ stats.roles_in_use or 0 }}
Roles in Use
{% if roles %} {% for role in roles %} {% endfor %}
Role Name Type Port Range Devices Actions
{{ role.name }}
{% if role.description %}
{{ role.description }}
{% endif %}
{% if role.is_infrastructure %} Infrastructure {% else %} Standard {% endif %} {% if role.port_count_min or role.port_count_max %} {{ role.port_count_min or '0' }} - {{ role.port_count_max or '∞' }} ports {% else %} Any {% endif %} {% if role.device_count > 0 %} {{ role.device_count }} {% else %} 0 {% endif %}
{% if role.device_count == 0 %} {% endif %}
{% else %}

No roles configured

Create device roles to categorize network infrastructure

Create Role
{% endif %}

Confirm Deletion

Delete role ""?

This action cannot be undone.

{% endblock %}