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.
This commit is contained in:
Christian Manivong committed 2026-11-28 03:02:21 +01:00
1 parent ecf8c427fc
commit dcb4932535
4 files changed
+248 -22

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
"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": 133,
"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
},