NetOrk/netork#2750 asked whether the OpenWrt driver should carry napalm-device-types' new ServicesRestartMixin (get_services_need_restart, NAPALM/napalm-device-types#132). Not as it is: the command would run (busybox, /proc, procd cgroups), but its clean answer would not hold. A package upgrade writes the new files to the overlay while the old ones stay in the read-only image, and /proc/<pid>/maps can name those by their /rom or /overlay/upper path rather than as deleted (Linux before 6.8 shows an overlay file's real path; OpenWrt 23.05 runs 5.15, 24.10 runs 6.6). The scan's DELETED_CODE_PATTERN matches neither, so it could read clean exactly after an upgrade. Without the method netOrk shows the reading as not made.
README: a row in the getter table.
tests/unit/test_services_restart.py: the driver offers neither get_services_need_restart nor its transport. The whole suite: 402 passed locally.
A reading of OpenWrt's own (mappings under /rom whose overlay copy exists, (deleted) under /overlay/upper) is #51, unbuilt until output from a 23.05 and a 24.10 device is recorded.
No code change, so no version bump and no dependency change; netOrk does not repin for it.
NetOrk/netork#2750 asked whether the OpenWrt driver should carry napalm-device-types' new `ServicesRestartMixin` (`get_services_need_restart`, NAPALM/napalm-device-types#132). Not as it is: the command would run (busybox, `/proc`, procd cgroups), but its clean answer would not hold. A package upgrade writes the new files to the overlay while the old ones stay in the read-only image, and `/proc/<pid>/maps` can name those by their `/rom` or `/overlay/upper` path rather than as deleted (Linux before 6.8 shows an overlay file's real path; OpenWrt 23.05 runs 5.15, 24.10 runs 6.6). The scan's `DELETED_CODE_PATTERN` matches neither, so it could read clean exactly after an upgrade. Without the method netOrk shows the reading as not made.
- README: a row in the getter table.
- `tests/unit/test_services_restart.py`: the driver offers neither `get_services_need_restart` nor its transport. The whole suite: 402 passed locally.
- A reading of OpenWrt's own (mappings under `/rom` whose overlay copy exists, `(deleted)` under `/overlay/upper`) is #51, unbuilt until output from a 23.05 and a 24.10 device is recorded.
No code change, so no version bump and no dependency change; netOrk does not repin for it.
An upgrade leaves the old files in the read-only image, and the kernel can
name them by their /rom or /overlay/upper path rather than as deleted, so
napalm-device-types' /proc scan could read clean right after an upgrade.
Without the method the caller shows the reading as not made. A reading of
OpenWrt's own is #51.
All checks were successful
driver / standard (pull_request) Successful in 20s
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.
NetOrk/netork#2750 asked whether the OpenWrt driver should carry napalm-device-types' new
ServicesRestartMixin(get_services_need_restart, NAPALM/napalm-device-types#132). Not as it is: the command would run (busybox,/proc, procd cgroups), but its clean answer would not hold. A package upgrade writes the new files to the overlay while the old ones stay in the read-only image, and/proc/<pid>/mapscan name those by their/romor/overlay/upperpath rather than as deleted (Linux before 6.8 shows an overlay file's real path; OpenWrt 23.05 runs 5.15, 24.10 runs 6.6). The scan'sDELETED_CODE_PATTERNmatches neither, so it could read clean exactly after an upgrade. Without the method netOrk shows the reading as not made.tests/unit/test_services_restart.py: the driver offers neitherget_services_need_restartnor its transport. The whole suite: 402 passed locally./romwhose overlay copy exists,(deleted)under/overlay/upper) is #51, unbuilt until output from a 23.05 and a 24.10 device is recorded.No code change, so no version bump and no dependency change; netOrk does not repin for it.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.