Export wait_for_restart

From: showard@google.com
Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@845 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index fe6e1e1..773491d 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -174,7 +174,7 @@
 			pass
 
 
-	def __wait_for_restart(self, timeout):
+	def _wait_for_restart(self, timeout):
 		self.wait_down(60)	# Make sure he's dead, Jim
 		self.wait_up(timeout)
 		time.sleep(2) # this is needed for complete reliability
@@ -190,7 +190,7 @@
                 if not command_ran:
                         raise errors.AutoservUnsupportedError
                 if wait:
-                        self.__wait_for_restart(timeout)
+                        self._wait_for_restart(timeout)
 
 
 	def __start_console_log(self, logfilename):
@@ -318,7 +318,7 @@
 		print "Reboot: initiating reboot"
 		self.run('reboot')
 		if wait:
-			self.__wait_for_restart(timeout)
+			self._wait_for_restart(timeout)
 			self.__load_netconsole_module() # if the builtin fails