Lines Matching full:machine
55 def _get_host_arguments(machine): argument
65 @param machine: machine dict
70 hostname, afe_host = server_utils.get_host_info_from_machine(machine)
71 connection_pool = server_utils.get_connection_pool_from_machine(machine)
72 host_info_store = host_info.get_store_from_machine(machine)
165 def create_host(machine, host_class=None, connectivity_class=None, **args): argument
171 @param machine: A dict representing the device under test or a String
173 If it is a machine dict, the 'hostname' key is required.
191 detected_args = _get_host_arguments(machine)
228 # create a custom host class for this machine and return an instance of it
241 def create_target_machine(machine, **kwargs): argument
242 """Create the target machine, accounting for containers.
244 @param machine: A dict representing the test bed under test or a String
247 If it is a machine dict, the 'hostname' key is required.
252 @returns: The target machine to be used for verify/repair.
256 hostname = machine['hostname'] if isinstance(machine, dict) else machine
261 if isinstance(machine, dict):
262 machine['hostname'] = hostname
264 machine = hostname
265 logging.debug('Hostname of machine is converted to %s for the test to '
267 return create_host(machine, **kwargs)
277 instance when creaating machine
287 machine = {
293 machine = hostname
295 host = create_target_machine(machine, **kwargs)