Home
last modified time | relevance | path

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

12

/tools/acloud/internal/lib/
Dgcompute_client.py165 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 …]
Dgcompute_client_test.py136 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 …]
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)
Dcvd_compute_client_multi_stage.py432 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)
Dcheeps_compute_client_test.py59 fake_cfg.zone = self.ZONE
129 zone=self.ZONE)
176 zone=self.ZONE)
Dcvd_compute_client_test.py67 fake_cfg.zone = self.ZONE
143 zone=self.ZONE,
183 zone=self.ZONE,
Dcvd_compute_client_multi_stage_test.py74 fake_cfg.zone = self.ZONE
191 zone=self.ZONE,
225 zone=self.ZONE,
Dgoldfish_compute_client_test.py64 fake_cfg.zone = self.ZONE
146 zone=self.ZONE,
Dcheeps_compute_client.py104 zone=self._zone)
Dgoldfish_compute_client.py237 zone=self._zone,
Dcvd_compute_client.py180 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/list/
Dinstance.py197 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/
Dconfig_test.py129 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")
Dconfig.py142 self.zone = usr_cfg.zone
280 if parsed_args.zone:
281 self.zone = parsed_args.zone
Ddevice_driver_test.py38 cfg.zone = "fake_zone"
164 {cfg.zone: instance_names})
169 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.py101 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/
Duser_config.proto27 // Compute Engine zone name, e.g. "us-central1-f"
28 optional string zone = 4; field
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java644 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/
Dwifi_performance_test_utils.py1158 for zone in candidate_zones:
1162 'cat /sys/class/thermal/tz-by-name/{}/temp'.format(zone)))
/tools/acloud/create/
Dcheeps_remote_image_remote_instance_test.py62 cfg.zone = "fake_zone"
/tools/acloud/public/actions/
Dcommon_operations_test.py85 cfg.zone = "fake_zone"
Dcreate_cuttlefish_action_test.py84 cfg.zone = "fake_zone"

12