Lines Matching refs:connectivity_class
104 def _detect_host(connectivity_class, hostname, **args): argument
121 with closing(connectivity_class(hostname, **args)) as host:
147 def _verify_connectivity(connectivity_class, hostname, **args): argument
153 if connectivity_class == local_host.LocalHost:
156 assert connectivity_class == ssh_host.SSHHost
165 def create_host(machine, host_class=None, connectivity_class=None, **args): argument
187 if connectivity_class is not None:
189 connectivity_class = None
204 connectivity_class = _choose_connectivity_class(hostname, args['port'])
220 _verify_connectivity(connectivity_class, hostname, **args)
221 host_class = _detect_host(connectivity_class, hostname, **args)
229 classes = (host_class, connectivity_class)