For NetOrk/netork#2615: netOrk upgrades an OpenWrt device to the newest release of its own line as a whole (sysupgrade through owut) instead of piling package upgrades into the overlay.
FirmwareUpgradeMixin.start_firmware_upgrade(version): starts installing the firmware a driver offers; the device runs it by itself and restarts at its end. UpdateMixin.get_update_progress follows it until then (its docstring now names this case).
FirmwareOfferDict.installable (optional): whether the driver can install latest_version itself now, False while the device lacks what that takes, left out where it never installs firmware.
FirmwareOfferDict.latest_major_version (optional): the newest of a later release line, shown and never crossed to by the driver.
Release 4.41.0 (version and CHANGELOG), so napalm-openwrt can require it.
Declared only, as every contract here; tests: tests/test_fact_getters.py. Full suite, ruff and mypy green locally.
For NetOrk/netork#2615: netOrk upgrades an OpenWrt device to the newest release of its own line as a whole (sysupgrade through owut) instead of piling package upgrades into the overlay.
- `FirmwareUpgradeMixin.start_firmware_upgrade(version)`: starts installing the firmware a driver offers; the device runs it by itself and restarts at its end. `UpdateMixin.get_update_progress` follows it until then (its docstring now names this case).
- `FirmwareOfferDict.installable` (optional): whether the driver can install `latest_version` itself now, False while the device lacks what that takes, left out where it never installs firmware.
- `FirmwareOfferDict.latest_major_version` (optional): the newest of a later release line, shown and never crossed to by the driver.
- Release 4.41.0 (version and CHANGELOG), so napalm-openwrt can require it.
Declared only, as every contract here; tests: `tests/test_fact_getters.py`. Full suite, ruff and mypy green locally.
start_firmware_upgrade(version) starts an upgrade the device runs by itself and
restarts at the end of; get_update_progress follows it. The offer says whether
the driver can install it now (installable) and names a later release line it
never crosses to (latest_major_version).
models.py is over the file limit and may not grow; the offer's two new
fields moved it past its recorded length. It is still importable from
napalm_device_types.models.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For NetOrk/netork#2615: netOrk upgrades an OpenWrt device to the newest release of its own line as a whole (sysupgrade through owut) instead of piling package upgrades into the overlay.
FirmwareUpgradeMixin.start_firmware_upgrade(version): starts installing the firmware a driver offers; the device runs it by itself and restarts at its end.UpdateMixin.get_update_progressfollows it until then (its docstring now names this case).FirmwareOfferDict.installable(optional): whether the driver can installlatest_versionitself now, False while the device lacks what that takes, left out where it never installs firmware.FirmwareOfferDict.latest_major_version(optional): the newest of a later release line, shown and never crossed to by the driver.Declared only, as every contract here; tests:
tests/test_fact_getters.py. Full suite, ruff and mypy green locally.