feat(firmware): offer the newest release of the line and install it with owut (NetOrk/netork#2615)

get_firmware_offer() looks the device's release line up in the attended
sysupgrade server's overview.json, fetched at most once a day per server.
start_firmware_upgrade() runs owut upgrade detached from the session, and
get_update_progress() follows its log until owut hands the image to sysupgrade.
This commit is contained in:
Christian Manivong committed 2026-11-17 11:06:32 +01:00
1 parent 6ff893649c
commit 530f04055c
6 files changed
+582 -2

No files matched your search

+2
View File
@@ -43,6 +43,7 @@ from netmiko import ConnectHandler
from netmiko.exceptions import NetmikoAuthenticationException, NetmikoTimeoutException
from napalm_openwrt.config_mixin import OpenWrtConfigMixin
from napalm_openwrt.firmware_mixin import OpenWrtFirmwareMixin
from napalm_openwrt.interfaces_mixin import OpenWrtInterfaceMixin
from napalm_openwrt.lldp_agent import OpenWrtLldpAgentMixin
from napalm_openwrt.lldp_mixin import OpenWrtLLDPMixin
@@ -83,6 +84,7 @@ class OpenWrtDriver(
OpenWrtPackageMixin,
OpenWrtRoutingMixin,
OpenWrtScheduledJobsMixin,
OpenWrtFirmwareMixin,
ListeningSocketsMixin,
HostStatusMixin,
SnmpAgentMixin,