Home | History | Annotate | Download | only in platform_BootDevice
      1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 import logging
      6 from autotest_lib.server import test, autotest
      7 
      8 class platform_BootDevice(test.test):
      9    version = 1
     10 
     11    def run_once(self, host=None):
     12      self.client = host
     13 
     14      # Reboot the client
     15      logging.info('BootDevice: reboot %s' % self.client.hostname)
     16      self.client.reboot()
     17