parallel-ssh v2.0.0.rc1 Release Notes
Release Date: 2020-10-03 // over 3 years ago-
🔄 Changes
⚡️ See
Upgrading to API 2.0 <upgrade-link>
_ for examples of code that will need updating.- ✂ Removed paramiko clients and dependency.
ParallelSSHClient.run_command
now always returns a list ofHostOutput
-return_list
argument is a no-op and may be removed.ParallelSSHClient.get_last_output
now always returns a list ofHostOutput
.SSHClient.run_command
now returnsHostOutput
.- ✂ Removed deprecated since
1.0.0
HostOutput
dictionary attributes. - ✂ Removed deprecated since
1.0.0
imports and modules. - Removed paramiko based
load_private_key
andread_openssh_config
functions frompssh.utils
. - ✂ Removed paramiko based
pssh.tunnel
. - ✂ Removed paramiko based
pssh.agent
. - ✂ Removed deprecated
ParallelSSHClient.get_output
function. - Removed deprecated
ParallelSSHClient.get_exit_code
andget_exit_codes
functions. - ✂ Removed deprecated
ParallelSSHClient
host_config
dictionary implementation - now list ofHostConfig
. - ✂ Removed
HostOutput.cmd
attribute. - ✂ Removed
ParallelSSHClient.host_clients
attribute. - ⏱ Made
ParallelSSHClient(timeout=<seconds>)
a global timeout setting for all operations. - Removed
run_command(greenlet_timeout=<..>)
argument - now uses global timeout setting. - ⏱ Renamed
run_command
timeout
toread_timeout=<seconds>)
for setting output read timeout individually - defaults to global timeout setting. - ✂ Removed
pssh.native
package and native code. - 📦 No native code means package architecture has changed to
none-any
.
🛠 Fixes