Searched refs:compute_client (Results 1 – 15 of 15) sorted by relevance
/tools/acloud/internal/lib/ |
D | gcompute_client_test.py | 81 self.compute_client = gcompute_client.ComputeClient( 83 self.compute_client._service = mock.MagicMock() 103 self.compute_client._service.globalOperations = mock.MagicMock( 106 self.compute_client._service.zoneOperations = mock.MagicMock( 109 self.compute_client._service.regionOperations = mock.MagicMock( 119 status = self.compute_client._GetOperationStatus( 130 status = self.compute_client._GetOperationStatus( 143 self.compute_client._GetOperationStatus( 157 self.compute_client._GetOperationStatus, 167 self.compute_client.WaitOnOperation( [all …]
|
/tools/acloud/public/ |
D | device_driver_test.py | 66 self.compute_client = mock.MagicMock() 70 return_value=self.compute_client) 94 self.compute_client.GetInstanceIP.return_value = fake_ip 95 self.compute_client.GenerateImageName.return_value = fake_image 96 self.compute_client.GenerateInstanceName.return_value = fake_instance 97 self.compute_client.GetDataDiskName.return_value = disk_name 106 self.compute_client.CreateImage.assert_called_with( 108 self.compute_client.CreateInstance.assert_called_with( 114 self.compute_client.DeleteImage.assert_called_with(fake_image) 140 self.compute_client.GetInstanceIP.return_value = fake_ip [all …]
|
D | device_driver.py | 312 def _FetchSerialLogsFromDevices(compute_client, instance_names, output_file, argument 326 serial_log = compute_client.GetSerialPortOutput( 374 compute_client = android_compute_client.AndroidComputeClient(cfg, 426 compute_client, 454 compute_client = android_compute_client.AndroidComputeClient(cfg, 456 zone_instances = compute_client.GetZonesByInstances(instance_names) 460 deleted_ins, failed_ins, error_ins = compute_client.DeleteInstances( 484 compute_client = android_compute_client.AndroidComputeClient( 487 if not compute_client.CheckAccess():
|
/tools/acloud/create/ |
D | cheeps_remote_image_remote_instance_test.py | 37 self.compute_client = mock.MagicMock() 41 return_value=self.compute_client) 45 return_value=self.compute_client) 53 self.compute_client.GetInstanceIP.return_value = self.IP 54 self.compute_client.GenerateImageName.return_value = self.IMAGE 55 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 88 self.compute_client.CreateInstance.assert_called_with( 120 self.compute_client.CreateInstance.assert_called_with(
|
D | cheeps_remote_image_remote_instance.py | 90 compute_client = cheeps_compute_client.CheepsComputeClient( 92 super(CheepsDeviceFactory, self).__init__(compute_client)
|
/tools/acloud/public/actions/ |
D | create_cuttlefish_action_test.py | 64 self.compute_client = mock.MagicMock() 68 return_value=self.compute_client) 72 return_value=self.compute_client) 76 return_value=self.compute_client) 106 self.compute_client.GetInstanceIP.return_value = self.IP 107 self.compute_client.GenerateImageName.return_value = self.IMAGE 108 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 130 self.compute_client.CreateInstance.assert_called_with(
|
D | create_goldfish_action_test.py | 60 self.compute_client = mock.MagicMock() 64 return_value=self.compute_client) 68 return_value=self.compute_client) 105 self.compute_client.GetInstanceIP.return_value = self.IP 106 self.compute_client.GenerateImageName.return_value = self.IMAGE 107 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 132 self.compute_client.CreateInstance.assert_called_with( 188 self.compute_client.CreateInstance.assert_called_with( 215 self.compute_client.GetInstanceIP.return_value = self.IP 216 self.compute_client.GenerateImageName.return_value = self.IMAGE [all …]
|
D | base_device_factory.py | 29 def __init__(self, compute_client): argument 31 self._compute_client = compute_client
|
D | common_operations_test.py | 53 self.compute_client = mock.MagicMock() 57 return_value=self.compute_client) 59 self.Patch(self.compute_client, "GetInstanceIP", return_value=self.IP) 65 return_value=self.compute_client)
|
D | create_cuttlefish_action.py | 64 compute_client = cvd_compute_client_multi_stage.CvdComputeClient( 68 compute_client = cvd_compute_client.CvdComputeClient( 70 super(CuttlefishDeviceFactory, self).__init__(compute_client)
|
D | remote_instance_cf_device_factory.py | 63 compute_client = cvd_compute_client_multi_stage.CvdComputeClient( 69 super(RemoteInstanceDeviceFactory, self).__init__(compute_client)
|
/tools/acloud/public/acloud_kernel/ |
D | kernel_swapper_test.py | 39 self.compute_client = mock.MagicMock() 43 return_value=self.compute_client) 48 self.compute_client.GetInstanceIP.return_value = self.fake_ip 76 self.compute_client.WaitForBoot.assert_called_once_with(
|
/tools/acloud/reconnect/ |
D | reconnect.py | 73 compute_client = android_compute_client.AndroidComputeClient( 75 compute_client.AddSshRsaInstanceMetadata(
|
/tools/acloud/list/ |
D | list.py | 106 compute_client = gcompute_client.ComputeClient(cfg, credentials) 108 all_instances = compute_client.ListInstances(instance_filter=filter_item)
|
/tools/acloud/delete/ |
D | delete.py | 197 compute_client = cvd_compute_client_multi_stage.CvdComputeClient( 206 compute_client.InitRemoteHost(ssh, remote_host, host_user)
|