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

Unified Diff: server/hosts/site_host.py

Issue 651043: Enable chromeos reimage function from autoserv command line. Part I. (Closed)
Patch Set: patch 12 Created 10 years, 10 months 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/site_autoserv_parser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/hosts/site_host.py
diff --git a/server/hosts/site_host.py b/server/hosts/site_host.py
new file mode 100644
index 0000000000000000000000000000000000000000..cb5e30135a3d84cfb23ceab4617008d4b68a0eb7
--- /dev/null
+++ b/server/hosts/site_host.py
@@ -0,0 +1,12 @@
+from autotest_lib.server import autoserv_parser
+
+
+parser = autoserv_parser.autoserv_parser
+
+
+class SiteHost():
+ def machine_install(self):
+ image = parser.options.image
+ print "Install %s to host: %s" % (image, self.hostname)
+ # TODO(seano): implement the real os reimage method here.
+
« no previous file with comments | « no previous file | server/site_autoserv_parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698