Expand description
Network interface discovery and filtering utilities.
This module provides reusable functions for finding and validating network interfaces, eliminating code duplication across the codebase.
Functionsยง
- find_
interface - Find a network interface by name (case-insensitive partial match).
- get_
interface_ ipv4_ addrs - Get all IPv4 addresses from an interface.
- interface_
matches - Check if interface name matches (case-insensitive partial match).
- is_
interface_ active - Check if interface is active (up, running, not loopback).