reboot_host() (napalm-device-types HostRebootMixin, carried by AccessPointDriver) over run_command: reboot detached with trap '' HUP and two seconds late, the pattern napalm-linux uses, so the answer comes back before the session goes down. A refusal (exit code) raises RuntimeError; a login other than root is refused before anything runs.
netOrk sent /sbin/reboot through the private _send_command and treated any answer as success (NetOrk/netork#1113).
`reboot_host()` (napalm-device-types `HostRebootMixin`, carried by `AccessPointDriver`) over `run_command`: `reboot` detached with `trap '' HUP` and two seconds late, the pattern napalm-linux uses, so the answer comes back before the session goes down. A refusal (exit code) raises `RuntimeError`; a login other than root is refused before anything runs.
netOrk sent `/sbin/reboot` through the private `_send_command` and treated any answer as success (NetOrk/netork#1113).
Part of #13
HostRebootMixin's reboot_host over the command channel: reboot detached
and two seconds late, so the answer comes back before the session goes
down, and a refusal is raised instead of being mistaken for the dropped
session. netOrk sent /sbin/reboot through the private _send_command and
could not tell the two apart (netOrk #1113). A login other than root is
refused before anything runs.
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.
reboot_host()(napalm-device-typesHostRebootMixin, carried byAccessPointDriver) overrun_command:rebootdetached withtrap '' HUPand two seconds late, the pattern napalm-linux uses, so the answer comes back before the session goes down. A refusal (exit code) raisesRuntimeError; a login other than root is refused before anything runs.netOrk sent
/sbin/rebootthrough the private_send_commandand treated any answer as success (NetOrk/netork#1113).Part of #13