{% extends "base.html" %} {% block title %}Coverage Analysis - Network Management{% endblock %} {% block head_extra %} {% endblock %} {% block content %}
Network device capture gap analysis and coverage statistics
{{ error }}
| Capture Type | Total Success | {% for vendor in vendor_coverage.vendors|sort %}{{ vendor }} | {% endfor %}
|---|---|---|
| {{ capture_type }} | {% set total_success = summary_stats.capture_stats.get(capture_type, {}).get('count', 0) %} {% set total_devices = summary_stats.total_devices %} {% set percentage = summary_stats.capture_stats.get(capture_type, {}).get('percentage', 0) %} {{ total_success }}/{{ total_devices }} ({{ "%.1f"|format(percentage) }}%) | {% for vendor in vendor_coverage.vendors|sort %}{% set vendor_data = vendor_coverage.by_capture.get(capture_type, {}).get('vendors', {}).get(vendor, {'success': 0, 'total': 0}) %} {% if vendor_data.total > 0 %} {% set vendor_pct = (vendor_data.success / vendor_data.total * 100) %} {{ vendor_data.success }}/{{ vendor_data.total }} {% else %} N/A {% endif %} | {% endfor %}
| Device Name | Host | Vendor | {% for capture_type in capture_types[:10] %}{{ capture_type }} | {% endfor %}Score |
|---|---|---|---|---|
| {{ device_name }} | {{ device_info.host }} | {% set vendor = device_info.vendor.lower() %} {{ device_info.vendor or 'Unknown' }} | {% for capture_type in capture_types[:10] %}
{% if device_info.captures.get(capture_type, False) %}
✓
{% else %}
✗
{% endif %}
|
{% endfor %}
{% set score_pct = (device_info.total_captures / capture_types|length * 100) if capture_types|length > 0 else 0 %} {{ device_info.total_captures }}/{{ capture_types|length }} |