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 | 309 self.close_ssh_tunnel(self._tunnels[0].local_port) 329 def create_ssh_tunnel(self, port, local_port=None): argument 343 if not local_port: 344 local_port = host_utils.get_available_host_port() 348 return tunnel.local_port 354 '-L': '%d:localhost:%d' % (local_port, port), 368 local_port, port, tunnel_proc.pid) 369 self._tunnels.append(_Tunnel(local_port, port, tunnel_proc)) 370 return local_port 372 def close_ssh_tunnel(self, local_port): argument [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | adb.py | 97 local_port = ssh_connection.create_ssh_tunnel(5037) 98 self._server_local_port = local_port 101 adb_cmd.append("-P %d" % local_port) 212 remote_port, local_port=host_port)
|