Lines Matching full:machine
67 def _get_host_arguments(machine, **args): argument
79 @param machine: machine dict
84 hostname, afe_host = server_utils.get_host_info_from_machine(machine)
85 connection_pool = server_utils.get_connection_pool_from_machine(machine)
86 host_info_store = host_info.get_store_from_machine(machine)
226 def create_host(machine, host_class=None, connectivity_class=None, **args): argument
232 @param machine: A dict representing the device under test or a String
234 If it is a machine dict, the 'hostname' key is required.
252 detected_args = _get_host_arguments(machine, **args)
295 # create a custom host class for this machine and return an instance of it
313 def create_target_machine(machine, **kwargs): argument
314 """Create the target machine, accounting for containers.
316 @param machine: A dict representing the test bed under test or a String
319 If it is a machine dict, the 'hostname' key is required.
324 @returns: The target machine to be used for verify/repair.
328 hostname = machine['hostname'] if isinstance(machine, dict) else machine
333 if isinstance(machine, dict):
334 machine['hostname'] = hostname
336 machine = hostname
337 logging.debug('Hostname of machine is converted to %s for the test to '
339 return create_host(machine, **kwargs)
349 instance when creaating machine
359 machine = {
365 machine = hostname
367 host = create_target_machine(machine, **kwargs)