Lines Matching refs:host
17 def require_servo(host, ignore_state=False): argument
26 servo_initialized = host.servo is not None
27 servo_working = (host.get_servo_state() ==
32 '%s has no working servo.' % host.hostname, 'no_working_servo')
49 def verify(self, host): argument
50 if host.is_up():
54 socket.gethostbyname(host.hostname)
59 if utils.ping(host.hostname, tries=1, deadline=1) != 0:
61 raise hosts.AutoservVerifyError(msg % host.hostname)
81 def verify(self, host): argument
82 if host.is_up_fast(count=10):
87 ip_address = socket.gethostbyname(host.hostname)
90 msg = 'Unable to look up %s in DNS: %s' % (host.hostname, str(e))
93 msg = 'Hostname: %s not present in DNS' % host.hostname
111 def verify(self, host): argument
112 host.verify_software()
113 host.verify_hardware()
124 def repair(self, host): argument
125 host.reboot()
145 def repair(self, host): argument
146 if not host.has_power():
148 '%s has no RPM connection.' % host.hostname,
150 host.power_cycle()