- `reboot_host()` per `HostRebootMixin` (raises when refused): the application looks for it, so the gateway was not restartable (#5).
- `run_device_action` gone; `restart_wifi(band)` and `get_diagnostics()` are methods.
Part of NetOrk/netork#1105. Closes #5, part of #6.
The gateway had reboot(), but the contract (HostRebootMixin) and the
application look for reboot_host(), so the gateway could not be
restarted from it. reboot_host() returns None and raises when the
gateway refuses, as the contract says.
run_device_action dispatched reboot, restart_wifi[:band] and
get_diagnostics by string, with a result shape other than its
contract's. restart_wifi(band) and get_diagnostics() are methods now;
napalm-device-types deprecates run_device_action.
BREAKING CHANGE: reboot() and run_device_action are removed.
Closes#5. Part of #6.
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()perHostRebootMixin(raises when refused): the application looks for it, so the gateway was not restartable (#5).run_device_actiongone;restart_wifi(band)andget_diagnostics()are methods.Part of NetOrk/netork#1105. Closes #5, part of #6.