/tools/acloud/internal/lib/ |
D | gcompute_client.py | 165 zone=scope_name) 232 def GetMetricQuota(regions_info, zone, metric): argument 245 if region_info["name"] in zone: 249 logger.info("Can't get %s quota info from zone(%s)", metric, zone) 252 def EnoughMetricsInZone(self, zone): argument 265 quota = self.GetMetricQuota(regions_info, zone, metric) 268 "Can't query the metric(%s) in zone(%s)", metric, zone) 272 "The metric(%s) is over limit in zone(%s)", metric, zone) 276 def GetDisk(self, disk_name, zone): argument 288 project=self._project, zone=zone, disk=disk_name) [all …]
|
D | gcompute_client_test.py | 136 zone=self.ZONE) 485 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE) 613 zone=self.ZONE, 618 project=PROJECT, zone=self.ZONE, body=expected_body) 690 zone=self.ZONE, 696 project=PROJECT, zone=self.ZONE, body=expected_body) 764 zone=self.ZONE, 769 project=PROJECT, zone=self.ZONE, body=expected_body) 782 instance=self.INSTANCE, zone=self.ZONE) 784 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE) [all …]
|
D | android_compute_client.py | 74 self._zone = acloud_config.zone 215 zone=None, argument 241 zone=zone or self._zone) 276 zone=None, argument 388 def GetInstanceIP(self, instance, zone=None): argument 399 instance, zone or self._zone) 401 def GetSerialPortOutput(self, instance, zone=None, port=1): argument 416 instance, zone or self._zone, port)
|
D | cvd_compute_client_multi_stage.py | 432 self, instance=avd_spec.instance_name_to_reuse, zone=self._zone) 475 zone=self._zone, 481 self, instance=instance, zone=self._zone) 560 self, instance=instance, zone=self._zone)
|
D | cheeps_compute_client_test.py | 59 fake_cfg.zone = self.ZONE 129 zone=self.ZONE) 176 zone=self.ZONE)
|
D | cvd_compute_client_test.py | 67 fake_cfg.zone = self.ZONE 143 zone=self.ZONE, 183 zone=self.ZONE,
|
D | cvd_compute_client_multi_stage_test.py | 74 fake_cfg.zone = self.ZONE 191 zone=self.ZONE, 225 zone=self.ZONE,
|
D | goldfish_compute_client_test.py | 64 fake_cfg.zone = self.ZONE 146 zone=self.ZONE,
|
D | cheeps_compute_client.py | 104 zone=self._zone)
|
D | goldfish_compute_client.py | 237 zone=self._zone,
|
D | cvd_compute_client.py | 180 zone=self._zone,
|
/tools/acloud/internal/script/ |
D | create_extradisk.sh | 20 gcloud compute disks create "${DISK_NAME}" --zone=${ZONE} --project=${PROJECT} --size="${1}GB" 21 gcloud compute instances attach-disk instance-disk-creation --disk "${DISK_NAME}" --zone=${ZONE} --… 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… 28 gcloud compute instances detach-disk instance-disk-creation --disk "${DISK_NAME}" --zone=${ZONE} --… 29 gcloud compute images create "${IMAGE_NAME}" --source-disk-zone=${ZONE} --source-disk "${DISK_NAME}… 30 gcloud compute disks delete "${DISK_NAME}" --zone=${ZONE} --project=${PROJECT}
|
/tools/acloud/list/ |
D | instance.py | 197 is_local=False, device_information=None, zone=None): argument 213 self._zone = zone 319 def zone(self): member in Instance 359 zone=_LOCAL_ZONE) 620 zone = self._GetZoneName(gce_instance.get(constants.INS_KEY_ZONE)) 678 zone=zone)
|
/tools/acloud/public/ |
D | config_test.py | 129 self.assertEqual(cfg.zone, "us-central1-f") 171 self.assertEqual(cfg.zone, "") 187 self.assertEqual(cfg.zone, "us-central1-f") 292 cfg.zone = "us-central1-f" 296 args.zone = "us-central1-b" 298 self.assertEqual(cfg.zone, "us-central1-b")
|
D | config.py | 142 self.zone = usr_cfg.zone 280 if parsed_args.zone: 281 self.zone = parsed_args.zone
|
D | device_driver_test.py | 38 cfg.zone = "fake_zone" 164 {cfg.zone: instance_names}) 169 instance_names, cfg.zone)
|
D | device_driver.py | 250 self._cfg.zone) 459 for zone, instances in zone_instances.items(): 461 instances, zone)
|
/tools/acloud/setup/ |
D | gcp_setup_runner.py | 259 self.zone = cfg.zone 338 "Would you like to update them?[y/N]: \n") % (self.project, self.zone) 340 if not self.project or not self.zone: 411 self.zone = zone_match.group("zone") 414 UpdateConfigFile(self.config_path, "zone", self.zone)
|
D | gcp_setup_runner_test.py | 101 self.gcp_env_runner.zone = "fake_zone" 105 self.assertEqual(self.gcp_env_runner.zone, "new_zone") 207 self.gcp_env_runner.zone = "" 211 self.gcp_env_runner.zone = "test_zone"
|
/tools/acloud/internal/proto/ |
D | user_config.proto | 27 // Compute Engine zone name, e.g. "us-central1-f" 28 optional string zone = 4; field
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceManager.java | 644 String zone = config.getValueForKey(AcloudKeys.ZONE); in getInstanceSerialLog() local 655 compute.instances().getSerialPortOutput(project, zone, instanceName); in getInstanceSerialLog()
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 1158 for zone in candidate_zones: 1162 'cat /sys/class/thermal/tz-by-name/{}/temp'.format(zone)))
|
/tools/acloud/create/ |
D | cheeps_remote_image_remote_instance_test.py | 62 cfg.zone = "fake_zone"
|
/tools/acloud/public/actions/ |
D | common_operations_test.py | 85 cfg.zone = "fake_zone"
|
D | create_cuttlefish_action_test.py | 84 cfg.zone = "fake_zone"
|