run_command and open_stream (napalm-device-types CommandChannelMixin, already carried by AccessPointDriver) on an SSH exec channel next to netmiko's shell — stdin, separate stderr, a real exit code, the same way napalm-linux does it.
netOrk sent the AP-profile UCI script and the wifi channel through the private _send_command and typed the script in base64 chunks or printf lines (NetOrk/netork#1113). With stdin it writes the file with cat, so base64 is needed for nothing, and no_base64 — the last code get_device_warnings named — goes with the method.
OpenWrt has no sudo: a privileged command from a login other than root raises PermissionError before anything runs.
`run_command` and `open_stream` (napalm-device-types `CommandChannelMixin`, already carried by `AccessPointDriver`) on an SSH exec channel next to netmiko's shell — stdin, separate stderr, a real exit code, the same way napalm-linux does it.
netOrk sent the AP-profile UCI script and the wifi channel through the private `_send_command` and typed the script in base64 chunks or `printf` lines (NetOrk/netork#1113). With stdin it writes the file with `cat`, so `base64` is needed for nothing, and `no_base64` — the last code `get_device_warnings` named — goes with the method.
OpenWrt has no sudo: a privileged command from a login other than root raises `PermissionError` before anything runs.
Part of #13
run_command and open_stream (napalm-device-types CommandChannelMixin,
which AccessPointDriver carries) run on an SSH exec channel next to
netmiko's shell: stdin, stderr apart, a real exit code. netOrk sent UCI
scripts and the wifi channel through the private _send_command, typing
a file in base64 chunks or printf lines; with stdin it writes it with
cat, and base64 is needed for nothing (netOrk #1113). OpenWrt has no
sudo, so a privileged command from a login other than root is refused
before it runs.
get_device_warnings goes with it: no_base64 was its last code.
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.
run_commandandopen_stream(napalm-device-typesCommandChannelMixin, already carried byAccessPointDriver) on an SSH exec channel next to netmiko's shell — stdin, separate stderr, a real exit code, the same way napalm-linux does it.netOrk sent the AP-profile UCI script and the wifi channel through the private
_send_commandand typed the script in base64 chunks orprintflines (NetOrk/netork#1113). With stdin it writes the file withcat, sobase64is needed for nothing, andno_base64— the last codeget_device_warningsnamed — goes with the method.OpenWrt has no sudo: a privileged command from a login other than root raises
PermissionErrorbefore anything runs.Part of #13