Searched refs:compute_client (Results 1 – 18 of 18) sorted by relevance
/tools/acloud/internal/lib/ |
D | gcompute_client_test.py | 80 self.compute_client = gcompute_client.ComputeClient( 82 self.compute_client._service = mock.MagicMock() 102 self.compute_client._service.globalOperations = mock.MagicMock( 105 self.compute_client._service.zoneOperations = mock.MagicMock( 108 self.compute_client._service.regionOperations = mock.MagicMock( 118 status = self.compute_client._GetOperationStatus( 129 status = self.compute_client._GetOperationStatus( 142 self.compute_client._GetOperationStatus( 156 self.compute_client._GetOperationStatus, 166 self.compute_client.WaitOnOperation( [all …]
|
/tools/acloud/public/ |
D | device_driver_test.py | 67 self.compute_client = mock.MagicMock() 71 return_value=self.compute_client) 95 self.compute_client.GetInstanceIP.return_value = fake_ip 96 self.compute_client.GenerateImageName.return_value = fake_image 97 self.compute_client.GenerateInstanceName.return_value = fake_instance 98 self.compute_client.GetDataDiskName.return_value = disk_name 107 self.compute_client.CreateImage.assert_called_with( 109 self.compute_client.CreateInstance.assert_called_with( 115 self.compute_client.DeleteImage.assert_called_with(fake_image) 141 self.compute_client.GetInstanceIP.return_value = fake_ip [all …]
|
D | device_driver.py | 313 def _FetchSerialLogsFromDevices(compute_client, instance_names, output_file, argument 327 serial_log = compute_client.GetSerialPortOutput( 375 compute_client = android_compute_client.AndroidComputeClient(cfg, 427 compute_client, 455 compute_client = android_compute_client.AndroidComputeClient(cfg, 457 zone_instances = compute_client.GetZonesByInstances(instance_names) 461 deleted_ins, failed_ins, error_ins = compute_client.DeleteInstances( 485 compute_client = android_compute_client.AndroidComputeClient( 488 if not compute_client.CheckAccess():
|
/tools/acloud/public/actions/ |
D | create_goldfish_action_test.py | 63 self.compute_client = mock.MagicMock() 64 self.compute_client.openwrt = False 68 return_value=self.compute_client) 72 return_value=self.compute_client) 110 self.compute_client.GetInstanceIP.return_value = self.IP 111 self.compute_client.GenerateImageName.return_value = self.IMAGE 112 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 137 self.compute_client.CreateInstance.assert_called_with( 194 self.compute_client.CreateInstance.assert_called_with( 222 self.compute_client.GetInstanceIP.return_value = self.IP [all …]
|
D | create_cuttlefish_action_test.py | 69 self.compute_client = mock.MagicMock() 70 self.compute_client.openwrt = False 74 return_value=self.compute_client) 78 return_value=self.compute_client) 82 return_value=self.compute_client) 112 self.compute_client.GetInstanceIP.return_value = self.IP 113 self.compute_client.GenerateImageName.return_value = self.IMAGE 114 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 115 self.compute_client.GetHostImageName.return_value = self.STABLE_HOST_IMAGE_NAME 143 self.compute_client.CreateInstance.assert_called_with(
|
D | remote_instance_cf_device_factory_test.py | 250 compute_client = factory.GetComputeClient() 251 compute_client.LaunchCvd.return_value = {"instance": "failure"} 255 compute_client.LaunchCvd.assert_called_once() 258 compute_client.LaunchCvd.call_args[1].get("extra_args")) 287 compute_client = factory.GetComputeClient() 288 compute_client.LaunchCvd.return_value = {} 291 compute_client.FetchBuild.assert_called_once()
|
D | common_operations_test.py | 58 self.compute_client = mock.MagicMock() 62 return_value=self.compute_client) 64 self.Patch(self.compute_client, "GetInstanceIP", return_value=self.IP) 70 return_value=self.compute_client)
|
D | base_device_factory.py | 29 def __init__(self, compute_client): argument 31 self._compute_client = compute_client
|
D | create_cuttlefish_action.py | 65 compute_client = cvd_compute_client_multi_stage.CvdComputeClient( 69 compute_client = cvd_compute_client.CvdComputeClient( 71 super().__init__(compute_client)
|
D | gce_device_factory.py | 45 compute_client = cvd_compute_client_multi_stage.CvdComputeClient( 51 super().__init__(compute_client)
|
D | create_goldfish_action.py | 95 compute_client = goldfish_compute_client.GoldfishComputeClient( 97 super().__init__(compute_client)
|
D | remote_host_cf_device_factory.py | 67 compute_client = cvd_compute_client_multi_stage.CvdComputeClient( 73 super().__init__(compute_client)
|
D | remote_host_gf_device_factory.py | 101 super().__init__(compute_client=(
|
/tools/acloud/create/ |
D | cheeps_remote_image_remote_instance_test.py | 38 self.compute_client = mock.MagicMock() 39 self.compute_client.openwrt = False 43 return_value=self.compute_client) 47 return_value=self.compute_client) 55 self.compute_client.GetInstanceIP.return_value = self.IP 56 self.compute_client.GenerateImageName.return_value = self.IMAGE 57 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 90 self.compute_client.CreateInstance.assert_called_with( 123 self.compute_client.CreateInstance.assert_called_with(
|
D | cheeps_remote_image_remote_instance.py | 90 compute_client = cheeps_compute_client.CheepsComputeClient( 92 super().__init__(compute_client)
|
/tools/acloud/public/acloud_kernel/ |
D | kernel_swapper_test.py | 40 self.compute_client = mock.MagicMock() 44 return_value=self.compute_client) 49 self.compute_client.GetInstanceIP.return_value = self.fake_ip 77 self.compute_client.WaitForBoot.assert_called_once_with(
|
/tools/acloud/list/ |
D | list.py | 120 compute_client = gcompute_client.ComputeClient(cfg, credentials) 122 all_instances = compute_client.ListInstances(instance_filter=filter_item)
|
/tools/acloud/reconnect/ |
D | reconnect.py | 111 compute_client = android_compute_client.AndroidComputeClient( 113 compute_client.AddSshRsaInstanceMetadata(
|