Package Products :: Package ZenRRD :: Module zencommand :: Class SshPool |
[hide private]
[frames] | no frames]

# Class SshPool

source code

Cache all the Ssh connections so they can be managed

Instance Methods | [hide private]
__init__(self) | source code
get(self, cmd) Make a new SSH connection if there isn't one available | source code
reinitializeCollectorClients(self) | source code
_close(self, device) close the SSH connection to a device, if it exists | source code
close(self, cmd) symetric close that matches get() method | source code
trimConnections(self, schedule) reduce the number of connections using the schedule for guidance | source code