Home | History | Annotate | Download | only in hosts

Lines Matching refs:chameleon

6 """This file provides core logic for connecting a Chameleon Daemon."""
12 from autotest_lib.client.cros.chameleon import chameleon
31 """Host class for a host that controls a Chameleon."""
45 A ChameleonHost instance represents a host that controls a Chameleon.
65 self._chameleon_connection = chameleon.ChameleonConnection(
72 """Checks if Chameleon host is in lab and set self._is_in_lab.
82 """Creates Chameleon connection through SSH tunnel.
113 self._chameleon_connection = chameleon.ChameleonConnection(
115 except chameleon.ChameleonConnectionError:
126 raise ChameleonHostError('Can not connect to Chameleon')
130 """Check whether the chameleon host is a lab device.
132 @returns: True if the chameleon host is in Cros Lab, otherwise False.
155 return chameleon.ChameleonBoard(self._chameleon_connection, self)
185 1) If the DUT is in Cros Lab and has a chameleon board, then create
192 @param dut: host name of the host that chameleon connects. It can be used
193 to lookup the chameleon in test lab using naming convention.
195 chameleon in test lab.
213 chameleon_hostname = chameleon.make_chameleon_hostname(dut)