EucalyptusSystems/eutester — Issue #1: eutester should allow the opening of multiple ssh connections
Author: viglesiasce
Created: 2011-11-07 18:26:52+00:00
State: open

Id like eutester to allow the creation of multiple SSHClient sessions that are kept in a dictionary. This way we dont limit the number of devices we can use in a test without creating a new connection. The syntax could be something like:

eutester.add_ssh(name="new_session", host="foo", password="bar")

then you can run commands against this by saying:

eutester.sys(cmd="ls", session="new_session")

When no session name is provided the default will be used which is the connection passed in when the eutester object was constructed.