Files
napalm-openwrt/tests/quality_baseline.json
T
Christian Manivong dcb4932535 feat(wireless): get_radio_status says whether each radio runs (NetOrk/netork#31)
up, pending and setup_failed come from netifd (ubus call network.wireless
status, its retry_setup_failed for the last), beside the configuration read
before. A key netifd does not answer with a boolean is left out, and all
three are left out where the call fails or breaks off; the configuration
stays either way. On 2026-07-16 every radio of the fleet sat in a restart
loop with its configuration saying enabled; this is the state that showed it.

The htmode table moves to module level, which keeps get_radio_status within
the quality ratchet.
2026-11-28 03:02:21 +01:00

53 lines
2.8 KiB
JSON

{
"coverage_floor": 65.0,
"function_complexity": {
"napalm_openwrt/config_mixin.py::OpenWrtConfigMixin.commit_config": 14,
"napalm_openwrt/interfaces_mixin.py::OpenWrtInterfaceMixin.get_arp_table": 13,
"napalm_openwrt/openwrt.py::OpenWrtDriver._write_snmp_agent_config": 22,
"napalm_openwrt/packages_mixin.py::OpenWrtPackageMixin.search_packages": 12,
"napalm_openwrt/routing_mixin.py::OpenWrtRoutingMixin._parse_traceroute_output": 12,
"napalm_openwrt/routing_mixin.py::OpenWrtRoutingMixin.get_route_to": 12,
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_services": 14,
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_system_config": 16,
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_users": 13,
"napalm_openwrt/vlan_mixin.py::OpenWrtVLANMixin.get_vlans": 32,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin.get_channel_scan": 12,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin.get_radio_status": 19,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin.get_ssids": 51,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin.get_wireless_clients": 27
},
"function_lines": {
"napalm_openwrt/interfaces_mixin.py::OpenWrtInterfaceMixin.get_arp_table": 85,
"napalm_openwrt/interfaces_mixin.py::OpenWrtInterfaceMixin.get_interfaces_ip": 55,
"napalm_openwrt/interfaces_mixin.py::OpenWrtInterfaceMixin.get_mac_address_table": 53,
"napalm_openwrt/openwrt.py::OpenWrtDriver.get_facts": 53,
"napalm_openwrt/packages_mixin.py::OpenWrtPackageMixin.search_packages": 59,
"napalm_openwrt/routing_mixin.py::OpenWrtRoutingMixin._parse_traceroute_output": 67,
"napalm_openwrt/routing_mixin.py::OpenWrtRoutingMixin.get_route_to": 91,
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_services": 61,
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_snmp_information": 56,
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_system_config": 92,
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_users": 64,
"napalm_openwrt/vlan_mixin.py::OpenWrtVLANMixin.get_network_instances": 61,
"napalm_openwrt/vlan_mixin.py::OpenWrtVLANMixin.get_vlans": 106,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin._parse_iw_scan": 93,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin.get_radio_status": 118,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin.get_ssids": 240,
"napalm_openwrt/wireless_mixin.py::OpenWrtWirelessMixin.get_wireless_clients": 152
},
"mypy_relaxed": [
"napalm_openwrt.config_mixin",
"napalm_openwrt.interfaces_mixin",
"napalm_openwrt.openwrt",
"napalm_openwrt.packages_mixin",
"napalm_openwrt.routing_mixin",
"napalm_openwrt.system_mixin",
"napalm_openwrt.vlan_mixin",
"napalm_openwrt.wireless_mixin"
],
"python_file_lines": {},
"untyped_public": [
"napalm_openwrt/system_mixin.py::OpenWrtSystemMixin.get_snmp_config"
]
}