Home
last modified time | relevance | path

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

12

/tools/acloud/internal/lib/
Dgcompute_client.py166 zone=scope_name)
233 def GetMetricQuota(regions_info, zone, metric): argument
246 if region_info["name"] in zone:
250 logger.info("Can't get %s quota info from zone(%s)", metric, zone)
253 def EnoughMetricsInZone(self, zone): argument
266 quota = self.GetMetricQuota(regions_info, zone, metric)
269 "Can't query the metric(%s) in zone(%s)", metric, zone)
273 "The metric(%s) is over limit in zone(%s)", metric, zone)
277 def GetDisk(self, disk_name, zone): argument
289 project=self._project, zone=zone, disk=disk_name)
[all …]
Dgcompute_client_test.py136 zone=self.ZONE)
484 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE)
613 zone=self.ZONE,
618 project=PROJECT, zone=self.ZONE, body=expected_body)
691 zone=self.ZONE,
697 project=PROJECT, zone=self.ZONE, body=expected_body)
766 zone=self.ZONE,
771 project=PROJECT, zone=self.ZONE, body=expected_body)
784 instance=self.INSTANCE, zone=self.ZONE)
786 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE)
[all …]
Dandroid_compute_client.py73 self._zone = acloud_config.zone
215 zone=None, argument
241 zone=zone or self._zone)
276 zone=None, argument
389 def GetInstanceIP(self, instance, zone=None): argument
399 return super().GetInstanceIP(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.py61 fake_cfg.zone = self.ZONE
133 zone=self.ZONE)
182 zone=self.ZONE)
Dcvd_compute_client_multi_stage.py240 self, instance=avd_spec.instance_name_to_reuse, zone=self._zone)
293 zone=self._zone,
299 self, instance=instance, zone=self._zone)
420 self, instance=instance, zone=self._zone)
Dgoldfish_compute_client_test.py89 fake_cfg.zone = self.ZONE
199 zone=self.ZONE,
270 zone=self.ZONE,
Dcvd_compute_client_multi_stage_test.py82 fake_cfg.zone = self.ZONE
172 zone=self.ZONE,
Dcheeps_compute_client.py109 zone=self._zone)
Dgoldfish_compute_client.py258 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.py142 self.assertEqual(cfg.zone, "us-central1-f")
185 self.assertEqual(cfg.zone, "")
201 self.assertEqual(cfg.zone, "us-central1-f")
274 self.cfg.zone = "us-central1-f"
278 args.zone = "us-central1-b"
280 self.assertEqual(self.cfg.zone, "us-central1-b")
Dconfig.py162 self.zone = usr_cfg.zone
292 if parsed_args.zone:
293 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.py251 self._cfg.zone)
466 for zone, instances in zone_instances.items():
468 instances, zone)
/tools/acloud/setup/
Dgcp_setup_runner.py258 self.zone = cfg.zone
337 "Would you like to update them?[y/N]: \n") % (self.project, self.zone)
339 if not self.project or not self.zone:
410 self.zone = zone_match.group("zone")
413 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.py344 is_local=False, device_information=None, zone=None, argument
363 self._zone = zone
499 def zone(self): member in Instance
560 zone=_LOCAL_ZONE, webrtc_port=webrtc_port)
926 zone = self._GetZoneName(gce_instance.get(constants.INS_KEY_ZONE))
931 hostname = GetGCEHostName(project, name, zone)
989 zone=zone, webrtc_port=webrtc_port,
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenUtil.java467 public static String getRegionFromZoneMeta(String zone) { in getRegionFromZoneMeta() argument
468 int lastSlashIndex = zone.lastIndexOf("/"); in getRegionFromZoneMeta()
469 String region = zone.substring(lastSlashIndex + 1); in getRegionFromZoneMeta()
DGceManager.java1170 String zone = config.getValueForKey(AcloudKeys.ZONE); in getInstanceSerialLog() local
1182 compute.instances().getSerialPortOutput(project, zone, instanceName); in getInstanceSerialLog()
/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.py65 cfg.zone = "fake_zone"
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/
D__init__.py577 for zone in candidate_zones:
579 temperature = int(dut.adb.shell('cat {}'.format(zone)))
/tools/acloud/reconnect/
Dreconnect.py229 cfg.project, instance.name, cfg.zone)
/tools/acloud/public/actions/
Dcommon_operations_test.py92 cfg.zone = "fake_zone"

12