/tools/acloud/internal/lib/ |
D | gcompute_client.py | 168 zone=scope_name) 235 def GetMetricQuota(regions_info, zone, metric): argument 248 if region_info["name"] in zone: 252 logger.info("Can't get %s quota info from zone(%s)", metric, zone) 255 def EnoughMetricsInZone(self, zone): argument 268 quota = self.GetMetricQuota(regions_info, zone, metric) 271 "Can't query the metric(%s) in zone(%s)", metric, zone) 275 "The metric(%s) is over limit in zone(%s)", metric, zone) 279 def GetDisk(self, disk_name, zone): argument 291 project=self._project, zone=zone, disk=disk_name) [all …]
|
D | gcompute_client_test.py | 137 zone=self.ZONE) 486 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE) 615 zone=self.ZONE, 620 project=PROJECT, zone=self.ZONE, body=expected_body) 693 zone=self.ZONE, 699 project=PROJECT, zone=self.ZONE, body=expected_body) 768 zone=self.ZONE, 773 project=PROJECT, zone=self.ZONE, body=expected_body) 786 instance=self.INSTANCE, zone=self.ZONE) 788 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 | cheeps_compute_client_test.py | 60 fake_cfg.zone = self.ZONE 130 zone=self.ZONE) 177 zone=self.ZONE)
|
D | cvd_compute_client_test.py | 68 fake_cfg.zone = self.ZONE 144 zone=self.ZONE, 186 zone=self.ZONE,
|
D | cvd_compute_client_multi_stage.py | 457 self, instance=avd_spec.instance_name_to_reuse, zone=self._zone) 504 zone=self._zone, 510 self, instance=instance, zone=self._zone) 587 self, instance=instance, zone=self._zone)
|
D | cvd_compute_client_multi_stage_test.py | 73 fake_cfg.zone = self.ZONE 188 zone=self.ZONE, 222 zone=self.ZONE,
|
D | goldfish_compute_client_test.py | 66 fake_cfg.zone = self.ZONE 154 zone=self.ZONE,
|
D | cheeps_compute_client.py | 104 zone=self._zone)
|
D | goldfish_compute_client.py | 254 zone=self._zone,
|
D | cvd_compute_client.py | 180 zone=self._zone,
|
D | android_compute_client_test.py | 64 fake_cfg.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/public/ |
D | config_test.py | 144 self.assertEqual(cfg.zone, "us-central1-f") 187 self.assertEqual(cfg.zone, "") 203 self.assertEqual(cfg.zone, "us-central1-f") 283 self.cfg.zone = "us-central1-f" 287 args.zone = "us-central1-b" 289 self.assertEqual(self.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 | 39 cfg.zone = "fake_zone" 165 {cfg.zone: instance_names}) 170 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 | 102 self.gcp_env_runner.zone = "fake_zone" 106 self.assertEqual(self.gcp_env_runner.zone, "new_zone") 208 self.gcp_env_runner.zone = "" 212 self.gcp_env_runner.zone = "test_zone"
|
/tools/acloud/list/ |
D | instance.py | 236 is_local=False, device_information=None, zone=None, argument 254 self._zone = zone 366 def zone(self): member in Instance 408 zone=_LOCAL_ZONE, webrtc_port=webrtc_port) 695 zone = self._GetZoneName(gce_instance.get(constants.INS_KEY_ZONE)) 756 zone=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/acloud/create/ |
D | cheeps_remote_image_remote_instance_test.py | 62 cfg.zone = "fake_zone"
|
/tools/acloud/public/actions/ |
D | create_cuttlefish_action_test.py | 88 cfg.zone = "fake_zone"
|
D | common_operations_test.py | 87 cfg.zone = "fake_zone"
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 892 for zone in candidate_zones: 894 temperature = int(dut.adb.shell('cat {}'.format(zone)))
|