Lines Matching refs:machine
51 def _get_host_arguments(machine): argument
66 hostname, afe_host = server_utils.get_host_info_from_machine(machine)
67 connection_pool = server_utils.get_connection_pool_from_machine(machine)
68 host_info_store = host_info.get_store_from_machine(machine)
151 def create_host(machine, host_class=None, connectivity_class=None, **args): argument
172 detected_args = _get_host_arguments(machine)
206 def create_testbed(machine, **kwargs): argument
219 detected_args = _get_host_arguments(machine)
225 def create_target_machine(machine, **kwargs): argument
244 hostname = machine['hostname'] if isinstance(machine, dict) else machine
249 if isinstance(machine, dict):
250 machine['hostname'] = hostname
252 machine = hostname
258 if server_utils.machine_is_testbed(machine):
259 return create_testbed(machine, **kwargs)
260 return create_host(machine, **kwargs)