-
Committer:
David Schwarz
-
Date:
2011-10-06 22:12:37 UTC
-
Revision ID:
david.schwarz@calxeda.com-20111006221237-tet3b8cuahcfizes
clients: refactor + add SSH and QEMU clients
Clients are refactored to make LavaClient an abstract base class.
Common functionality is included in this class.
LavaSSHClient: Connect to and manage a client using pxssh
LavaQEMUClient: Create and manage a QEMU virtual machine
LavaConmuxClient: Create and manage a client using Conmux
Other minor changes:
Search for actions in all subdirectories of lava_dispatcher/actions
Add a parameter to LavaClient.run_shell_command to make retrieval
of the command exit code optional. This prevents run_shell_command
from automatically clearing the pexpect buffer, in case the caller
wishes to process the command's output.