Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Unified Diff: server/hosts/factory.py

Issue 5102010: Passing SSH-options for server tests. (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | server/hosts/ssh_host.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/hosts/factory.py
diff --git a/server/hosts/factory.py b/server/hosts/factory.py
index 8e5ba66350c4d948d1927e66a41d68e4d4e3822b..f1a054f590823f1831e7336e1413ea0b92e2380d 100644
--- a/server/hosts/factory.py
+++ b/server/hosts/factory.py
@@ -68,6 +68,10 @@ def create_host(
site_factory.postprocess_classes(classes, hostname,
auto_monitor=auto_monitor, **args)
truty 2010/11/23 20:07:26 These are sort of magical since they're injected b
+ args['user'] = ssh_user
+ args['port'] = ssh_port
+ args['password'] = ssh_pass
+
# create a custom host class for this machine and return an instance of it
host_class = type("%s_host" % hostname, tuple(classes), {})
host_instance = host_class(hostname, **args)
« no previous file with comments | « no previous file | server/hosts/ssh_host.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698