Skip to content

Network Connectivity

Detects the network interfaces and counts how many are connected (up with a valid IP address), for all interfaces or only wired or wireless ones.

Test suite test_network_connectivity (src/esq/suites/system/network/test_network_connectivity.py)
Integration type Type 1: generic suite. ESQ checks the system directly, and the profile selects the checks.
Key metric total_connected, wired_interfaces_connected, or wireless_interfaces_connected (count), depending on the check
Devices Network interfaces

How It Works

  1. List the network interfaces and their type (wired, wireless, other).
  2. Check which ones are up and have a valid IP address.
  3. Report the totals and connected counts of the checked type.

Parameters

Parameter Default Description
check_all false Count all connected interfaces. Key metric total_connected.
check_wired false Count wired interfaces. Key metric wired_interfaces_connected.
check_wireless false Count wireless interfaces. Key metric wireless_interfaces_connected.
timeout per profile Seconds for the test case

Profiles

Profile Type Test cases
profile.horizontal.system.network Horizontal 3

Expand a profile to see the test cases it runs with this suite.

profile.horizontal.system.network
Test ID Test case
NET-CON-001 Active Network Connections
NET-CON-002 Wired Network Connectivity
NET-CON-003 Wireless Network Connectivity

Run

esq run --profile profile.horizontal.system.network --filter test_id=NET-CON-001