Lines Matching refs:hostname
66 hostname, afe_host = server_utils.get_host_info_from_machine(machine)
83 hostname, user, password, port = server_utils.parse_machine(hostname, user,
87 'hostname': hostname,
100 def _detect_host(connectivity_class, hostname, **args): argument
117 with closing(connectivity_class(hostname, **args)) as host:
129 def _choose_connectivity_class(hostname, ssh_port): argument
137 if (hostname == 'localhost' and ssh_port == DEFAULT_SSH_PORT):
143 def _verify_connectivity(connectivity_class, hostname, **args): argument
153 with closing(ssh_host.SSHHost(hostname, **args)) as host:
188 hostname = detected_args.pop('hostname')
200 connectivity_class = _choose_connectivity_class(hostname, args['port'])
216 _verify_connectivity(connectivity_class, hostname, **args)
217 host_class = _detect_host(connectivity_class, hostname, **args)
226 custom_host_class = type("%s_host" % hostname, classes, {})
227 host_instance = custom_host_class(hostname, **args)
230 if hostname not in _started_hostnames:
232 _started_hostnames.add(hostname)
256 hostname = machine['hostname'] if isinstance(machine, dict) else machine
258 hostname in ['localhost', '127.0.0.1']):
259 hostname = CONFIG.get_config_value('SSP', 'host_container_ip', type=str,
262 machine['hostname'] = hostname
264 machine = hostname
266 'run inside a container.', hostname)