Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 33) sorted by relevance

12

/tools/acloud/internal/lib/
Dgcompute_client.py168 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 …]
Dgcompute_client_test.py137 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 …]
Dandroid_compute_client.py74 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)
Dcheeps_compute_client_test.py60 fake_cfg.zone = self.ZONE
130 zone=self.ZONE)
177 zone=self.ZONE)
Dcvd_compute_client_test.py68 fake_cfg.zone = self.ZONE
144 zone=self.ZONE,
186 zone=self.ZONE,
Dcvd_compute_client_multi_stage.py457 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)
Dcvd_compute_client_multi_stage_test.py73 fake_cfg.zone = self.ZONE
188 zone=self.ZONE,
222 zone=self.ZONE,
Dgoldfish_compute_client_test.py66 fake_cfg.zone = self.ZONE
154 zone=self.ZONE,
Dcheeps_compute_client.py104 zone=self._zone)
Dgoldfish_compute_client.py254 zone=self._zone,
Dcvd_compute_client.py180 zone=self._zone,
Dandroid_compute_client_test.py64 fake_cfg.zone = self.ZONE
/tools/acloud/internal/script/
Dcreate_extradisk.sh20 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/
Dconfig_test.py144 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")
Dconfig.py142 self.zone = usr_cfg.zone
280 if parsed_args.zone:
281 self.zone = parsed_args.zone
Ddevice_driver_test.py39 cfg.zone = "fake_zone"
165 {cfg.zone: instance_names})
170 instance_names, cfg.zone)
Ddevice_driver.py250 self._cfg.zone)
459 for zone, instances in zone_instances.items():
461 instances, zone)
/tools/acloud/setup/
Dgcp_setup_runner.py259 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)
Dgcp_setup_runner_test.py102 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/
Dinstance.py236 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/
Duser_config.proto27 // Compute Engine zone name, e.g. "us-central1-f"
28 optional string zone = 4; field
/tools/acloud/create/
Dcheeps_remote_image_remote_instance_test.py62 cfg.zone = "fake_zone"
/tools/acloud/public/actions/
Dcreate_cuttlefish_action_test.py88 cfg.zone = "fake_zone"
Dcommon_operations_test.py87 cfg.zone = "fake_zone"
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_performance_test_utils.py892 for zone in candidate_zones:
894 temperature = int(dut.adb.shell('cat {}'.format(zone)))

12