/tools/test/connectivity/acts/framework/acts/controllers/ |
D | access_point.py | 37 from acts.controllers.utils_lib.ssh import connection 38 from acts.controllers.utils_lib.ssh import settings 136 self.ssh = connection.SshConnection(self.ssh_settings) 139 self._ip_cmd = ip.LinuxIpCommand(self.ssh) 140 self._route_cmd = route.LinuxRouteCommand(self.ssh) 172 self.ssh.run('stop wpasupplicant') 176 self.ssh.run('stop hostapd') 182 self.ssh.run(WLAN_DOWN) 189 self.ssh.run(BRIDGE_DOWN) 190 self.ssh.run(BRIDGE_DEL) [all …]
|
D | packet_capture.py | 24 from acts.controllers.utils_lib.ssh import connection 25 from acts.controllers.utils_lib.ssh import formatter 26 from acts.controllers.utils_lib.ssh import settings 103 self.ssh = connection.SshConnection(self.ssh_settings) 110 result = self.ssh.run('ifconfig -a', ignore_status=True) 125 self.ssh.run('ifconfig wlan%s down' % iface[-1], ignore_status=True) 126 self.ssh.run('iw dev %s del' % iface, ignore_status=True) 127 self.ssh.run('iw phy%s interface add %s type %s' 129 self.ssh.run('ip link set %s up' % iface, ignore_status=True) 130 result = self.ssh.run('iw dev %s info' % iface, ignore_status=True) [all …]
|
/tools/acloud/internal/lib/ |
D | ssh_test.py | 28 from acloud.internal.lib import ssh 36 FAKE_IP = ssh.IP(external="1.1.1.1", internal="10.1.1.1") 58 ssh.ShellCmdWithRetry, 63 ssh_object = ssh.Ssh(ip=self.FAKE_IP, 73 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH) 86 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH) 99 ssh_object = ssh.Ssh(self.FAKE_IP, 117 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH) 130 ssh_object = ssh.Ssh(self.FAKE_IP, 148 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH) [all …]
|
D | cvd_compute_client_multi_stage.py | 52 from acloud.internal.lib.ssh import Ssh 143 def InitRemoteHost(self, ssh, ip, user): argument 155 self._ssh = ssh
|
/tools/acloud/pull/ |
D | pull.py | 28 from acloud.internal.lib.ssh import Ssh 29 from acloud.internal.lib.ssh import IP 59 ssh = Ssh(ip=IP(ip=instance.ip), 63 log_files = SelectLogFileToPull(ssh, file_name) 65 PullLogs(ssh, log_files, download_folder) 67 DisplayLog(ssh, log_files[0], no_prompts) 71 def PullLogs(ssh, log_files, download_folder): argument 81 ssh.ScpPullFile(log_file, target_file) 85 def DisplayLog(ssh, log_file, no_prompts=False): argument 97 ssh.Run("tail -f -n +1 %s" % log_file, show_output=True) [all …]
|
D | pull_test.py | 24 from acloud.internal.lib import ssh 68 @mock.patch.object(ssh.Ssh, "Run") 71 fake_ip = ssh.IP(external="1.1.1.1", internal="10.1.1.1") 72 _ssh = ssh.Ssh(ip=fake_ip,
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | bridge_interface.py | 56 self.ssh = ap.ssh 68 self.ssh.run(CREATE_BRIDGE) 77 self.ssh.run(ENABLE_4ADDR) 86 self.ssh.run(ADD_INTERFACE) 94 self.ssh.run(SET_BRIDGE_IP) 108 self.ssh.run(BRING_DOWN_BRIDGE) 110 self.ssh.run(DELETE_BRIDGE) 114 self.ssh.run(BRING_DOWN_WLAN) 117 self.ssh.run(DISABLE_4ADDR)
|
D | ap_get_interface.py | 39 self.ssh = ap.ssh 47 output = self.ssh.run(GET_ALL_INTERFACE) 58 output = self.ssh.run(GET_VIRTUAL_INTERFACE) 85 output = self.ssh.run(BRCTL_SHOW) 109 output = self.ssh.run(IW_LIST_FREQ) 142 output = self.ssh.run('ifconfig') 163 output = self.ssh.run(LAN_CHECK) 179 self.ssh.run(PING)
|
D | ap_iwconfig.py | 38 self.ssh = ap.ssh 48 output = self.ssh.run(iwconfig_command)
|
/tools/acloud/public/actions/ |
D | remote_instance_fvp_device_factory.py | 22 from acloud.internal.lib import ssh 64 ssh.ShellCmdWithRetry(cmd) 71 ssh.ShellCmdWithRetry(cmd) 78 ssh.ShellCmdWithRetry(cmd) 95 ssh.ShellCmdWithRetry(cmd)
|
D | remote_instance_cf_device_factory_test.py | 33 from acloud.internal.lib import ssh 246 @mock.patch.object(ssh, "ShellCmdWithRetry") 247 @mock.patch.object(ssh.Ssh, "Run") 253 fake_ip = ssh.IP(external="1.1.1.1", internal="10.1.1.1") 266 factory._ssh = ssh.Ssh(ip=fake_ip,
|
D | remote_instance_fvp_device_factory_test.py | 33 from acloud.internal.lib import ssh 50 @mock.patch.object(ssh, "ShellCmdWithRetry") 59 fake_ip = ssh.IP(external="1.1.1.1", internal="10.1.1.1") 71 factory._ssh = ssh.Ssh(ip=fake_ip,
|
D | remote_instance_cf_device_factory.py | 29 from acloud.internal.lib import ssh 118 ip = ssh.IP(ip=self._avd_spec.remote_host) 119 self._ssh = ssh.Ssh( 271 ssh.ShellCmdWithRetry(cmd)
|
/tools/acloud/internal/script/ |
D | create_extradisk.sh | 23 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo mkfs.… 24 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo mount… 25 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "ls /mnt" 26 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo umoun…
|
/tools/acloud/public/ |
D | device_driver_test.py | 29 from acloud.internal.lib import ssh 80 fake_ip = ssh.IP(external="140.1.1.1", internal="10.1.1.1") 135 fake_ip = ssh.IP(external="140.1.1.1", internal="10.1.1.1")
|
/tools/acloud/reconnect/ |
D | reconnect.py | 32 from acloud.internal.lib import ssh as ssh_object 65 ssh = ssh_object.Ssh(ip=ssh_object.IP(ip=instance.ip), user=host_user, 70 raw_data = ssh.GetCmdOutput("cat " + remote_cuttlefish_config)
|
/tools/acloud/delete/ |
D | delete.py | 32 from acloud.internal.lib import ssh as ssh_object 200 ssh = ssh_object.Ssh( 206 compute_client.InitRemoteHost(ssh, remote_host, host_user)
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | ota_sniffer.py | 26 from acts.controllers.utils_lib import ssh 240 self._sniffer_server = ssh.connection.SshConnection( 241 ssh.settings.from_config(self.ssh_config))
|
D | WifiBaseTest.py | 472 pids = ap.ssh.run('pidof %s' % daemon, ignore_status=True) 474 ap.ssh.run('kill %s' % pids.stdout, ignore_status=True) 476 pids = ap.ssh.run('pidof %s' % daemon, ignore_status=True)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiThroughputStabilityTest.py | 29 from acts.controllers.utils_lib import ssh 110 self.remote_server = ssh.connection.SshConnection( 111 ssh.settings.from_config(self.RemoteServer[0]['ssh_config']))
|
D | WifiRoamingPerformanceTest.py | 27 from acts.controllers.utils_lib import ssh 69 self.remote_server = ssh.connection.SshConnection( 70 ssh.settings.from_config(self.RemoteServer[0]['ssh_config']))
|
D | WifiPingTest.py | 27 from acts.controllers.utils_lib import ssh 77 self.ping_server = ssh.connection.SshConnection( 78 ssh.settings.from_config(self.RemoteServer[0]['ssh_config']))
|
D | WifiRvrTest.py | 28 from acts.controllers.utils_lib import ssh 75 self.remote_server = ssh.connection.SshConnection( 76 ssh.settings.from_config(self.RemoteServer[0]['ssh_config']))
|
D | WifiSensitivityTest.py | 28 from acts.controllers.utils_lib import ssh 149 self.ping_server = ssh.connection.SshConnection( 150 ssh.settings.from_config(self.RemoteServer[0]['ssh_config']))
|
D | WifiRssiTest.py | 29 from acts.controllers.utils_lib import ssh 74 self.remote_server = ssh.connection.SshConnection( 75 ssh.settings.from_config(self.RemoteServer[0]['ssh_config']))
|