Home | History | Annotate | Download | only in hosts

Lines Matching refs:servod

89     # Delay after rebooting for servod to become fully functional.
91 # Servod process name.
92 SERVOD_PROCESS = 'servod'
106 @param servo_host: Name of the host where the servod process
108 @param servo_port: Port the servod process is listening on.
165 """Return a proxy that can be used to communicate with servod server.
167 @returns: An xmlrpclib.ServerProxy that is connected to the servod
179 Wait for servod process to go up. Called by base class when
315 """A sanity check of the servod state."""
316 msg_prefix = 'Servod error: %s'
331 """Check if config file exists for servod.
333 If servod config file does not exist, there is no need to verify if
337 @raises ServoHostVerifyFailure if /var/lib/servod/config does not exist.
343 self.run('test -f /var/lib/servod/config')
356 """Check if servod process is running.
358 If servod is not running, there is no need to verify if servo is
359 working. Check the process before making any servod call can avoid
360 long timeout that eventually fail any servod call.
361 If the servo host is set to localhost, failure of servod status check
364 @raises ServoHostVerifyFailure if servod process does not exist.
369 self.run('pgrep servod').stdout.strip().split('\n')]
370 logging.info('servod is running, PID=%s', ','.join(pids))
373 logging.info('Ignoring servod status check failure. servo host '
378 'Servod status check failed for %s: %s' %
417 # servod
590 # Allow some time for servod to get started.