Searched refs:compute_client (Results 1 – 15 of 15) sorted by relevance
/tools/acloud/internal/lib/ |
D | gcompute_client_test.py | 77 self.compute_client = gcompute_client.ComputeClient( 79 self.compute_client._service = mock.MagicMock() 99 self.compute_client._service.globalOperations = mock.MagicMock( 102 self.compute_client._service.zoneOperations = mock.MagicMock( 105 self.compute_client._service.regionOperations = mock.MagicMock( 115 status = self.compute_client._GetOperationStatus( 126 status = self.compute_client._GetOperationStatus( 139 self.compute_client._GetOperationStatus( 152 self.compute_client._GetOperationStatus, 162 self.compute_client.WaitOnOperation( [all …]
|
/tools/acloud/public/ |
D | device_driver_test.py | 70 self.compute_client = mock.MagicMock() 74 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 | 314 def _FetchSerialLogsFromDevices(compute_client, instance_names, output_file, argument 328 serial_log = compute_client.GetSerialPortOutput( 378 compute_client = android_compute_client.AndroidComputeClient(cfg, 426 compute_client, 432 compute_client, 455 compute_client = android_compute_client.AndroidComputeClient(cfg, 458 deleted, failed, error_msgs = compute_client.DeleteInstances( 512 compute_client = android_compute_client.AndroidComputeClient( 517 items = compute_client.ListInstances(zone=cfg.zone) 524 result = compute_client.DeleteInstances( [all …]
|
/tools/acloud/public/actions/ |
D | create_goldfish_action_test.py | 57 self.compute_client = mock.MagicMock() 61 return_value=self.compute_client) 65 return_value=self.compute_client) 102 self.compute_client.GetInstanceIP.return_value = self.IP 103 self.compute_client.GenerateImageName.return_value = self.IMAGE 104 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 119 self.compute_client.CreateInstance.assert_called_with( 156 self.compute_client.CreateInstance.assert_called_with( 179 self.compute_client.GetInstanceIP.return_value = self.IP 180 self.compute_client.GenerateImageName.return_value = self.IMAGE [all …]
|
D | create_cuttlefish_action_test.py | 60 self.compute_client = mock.MagicMock() 64 return_value=self.compute_client) 68 return_value=self.compute_client) 97 self.compute_client.GetInstanceIP.return_value = self.IP 98 self.compute_client.GenerateImageName.return_value = self.IMAGE 99 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 113 self.compute_client.CreateInstance.assert_called_with(
|
D | common_operations_test.py | 63 self.compute_client = mock.MagicMock() 67 return_value=self.compute_client) 69 self.Patch(self.compute_client, "GetInstanceIP", return_value=self.IP) 75 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 | 59 compute_client = cvd_compute_client.CvdComputeClient( 61 super(CuttlefishDeviceFactory, self).__init__(compute_client)
|
D | create_goldfish_action.py | 84 compute_client = goldfish_compute_client.GoldfishComputeClient( 86 super(GoldfishDeviceFactory, self).__init__(compute_client)
|
/tools/acloud/create/ |
D | cheeps_remote_image_remote_instance_test.py | 36 self.compute_client = mock.MagicMock() 40 return_value=self.compute_client) 44 return_value=self.compute_client) 66 self.compute_client.GetInstanceIP.return_value = self.IP 67 self.compute_client.GenerateImageName.return_value = self.IMAGE 68 self.compute_client.GenerateInstanceName.return_value = self.INSTANCE 80 self.compute_client.CreateInstance.assert_called_with(
|
D | cheeps_remote_image_remote_instance.py | 89 compute_client = cheeps_compute_client.CheepsComputeClient( 91 super(CheepsDeviceFactory, self).__init__(compute_client)
|
D | local_image_remote_instance.py | 74 compute_client = cvd_compute_client.CvdComputeClient( 76 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 | 102 compute_client = gcompute_client.ComputeClient(cfg, credentials) 104 all_instances = compute_client.ListInstances(cfg.zone,
|