Searched refs:local_port (Results 1 – 2 of 2) sorted by relevance
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/ |
D | connection.py | 310 self.close_ssh_tunnel(self._tunnels[0].local_port) 330 def create_ssh_tunnel(self, port, local_port=None): argument 344 if not local_port: 345 local_port = host_utils.get_available_host_port() 349 return tunnel.local_port 355 '-L': '%d:localhost:%d' % (local_port, port), 369 local_port, port, tunnel_proc.pid) 370 self._tunnels.append(_Tunnel(local_port, port, tunnel_proc)) 371 return local_port 373 def close_ssh_tunnel(self, local_port): argument [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | adb.py | 105 local_port = ssh_connection.create_ssh_tunnel(5037) 106 self._server_local_port = local_port 109 adb_cmd.append("-P %d" % local_port) 219 remote_port, local_port=host_port)
|