NetOrk/netork#2750 asked whether the BSD drivers should carry napalm-device-types' new ServicesRestartMixin (get_services_need_restart, NAPALM/napalm-device-types#132). They should not: the mixin reads needs-restarting, needrestart or /proc/<pid>/maps and names systemd units through /proc/<pid>/cgroup, none of which FreeBSD or OpenBSD has. Mixed in, it would read nothing, or read clean. Without the method hasattr(driver, "get_services_need_restart") stays truthful and netOrk shows the reading as not made.
README: a paragraph next to the one on get_kernel_facts.
tests/test_drivers.py: neither driver offers get_services_need_restart or its transport. 100 passed locally.
A FreeBSD reading of its own (procstat -v, the rc.d service behind each PID) is #33, unbuilt until a host's output 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 BSD drivers should carry napalm-device-types' new `ServicesRestartMixin` (`get_services_need_restart`, NAPALM/napalm-device-types#132). They should not: the mixin reads `needs-restarting`, `needrestart` or `/proc/<pid>/maps` and names systemd units through `/proc/<pid>/cgroup`, none of which FreeBSD or OpenBSD has. Mixed in, it would read nothing, or read clean. Without the method `hasattr(driver, "get_services_need_restart")` stays truthful and netOrk shows the reading as not made.
- README: a paragraph next to the one on `get_kernel_facts`.
- `tests/test_drivers.py`: neither driver offers `get_services_need_restart` or its transport. 100 passed locally.
- A FreeBSD reading of its own (`procstat -v`, the rc.d service behind each PID) is #33, unbuilt until a host's output is recorded.
No code change, so no version bump and no dependency change; netOrk does not repin for it.
napalm-device-types' ServicesRestartMixin reads needrestart or
/proc/<pid>/maps and names systemd units by cgroup; a BSD has none of
them. Without the method the caller shows the reading as not made, not as
clean. A FreeBSD reading of its own is #33.
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 BSD drivers should carry napalm-device-types' new
ServicesRestartMixin(get_services_need_restart, NAPALM/napalm-device-types#132). They should not: the mixin readsneeds-restarting,needrestartor/proc/<pid>/mapsand names systemd units through/proc/<pid>/cgroup, none of which FreeBSD or OpenBSD has. Mixed in, it would read nothing, or read clean. Without the methodhasattr(driver, "get_services_need_restart")stays truthful and netOrk shows the reading as not made.get_kernel_facts.tests/test_drivers.py: neither driver offersget_services_need_restartor its transport. 100 passed locally.procstat -v, the rc.d service behind each PID) is #33, unbuilt until a host's output is recorded.No code change, so no version bump and no dependency change; netOrk does not repin for it.