Home
last modified time | relevance | path

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

12

/tools/acloud/internal/lib/
Dgcompute_client.py151 zone=scope_name)
198 def GetDisk(self, disk_name, zone): argument
210 project=self._project, zone=zone, disk=disk_name)
213 def CheckDiskExists(self, disk_name, zone): argument
224 self.GetDisk(disk_name, zone)
236 zone, argument
259 "type": "projects/%s/zones/%s/diskTypes/%s" % (self._project, zone,
265 zone=zone,
272 scope_name=zone)
275 if self.CheckDiskExists(disk_name, zone):
[all …]
Dandroid_compute_client.py72 self._zone = acloud_config.zone
174 zone=None, argument
200 zone=zone or self._zone)
235 zone=None, argument
357 def GetInstanceIP(self, instance, zone=None): argument
368 instance, zone or self._zone)
370 def GetSerialPortOutput(self, instance, zone=None, port=1): argument
385 instance, zone or self._zone, port)
387 def GetInstanceNamesByIPs(self, ips, zone=None): argument
403 ips, zone or self._zone)
Dgcompute_client_test.py133 zone=self.ZONE)
478 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE)
499 zone=self.ZONE,
504 zone=self.ZONE,
569 zone=self.ZONE,
574 project=PROJECT, zone=self.ZONE, body=expected_body)
640 zone=self.ZONE,
645 project=PROJECT, zone=self.ZONE, body=expected_body)
658 instance=self.INSTANCE, zone=self.ZONE)
660 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE)
[all …]
Dcvd_compute_client_test.py65 fake_cfg.zone = self.ZONE
128 zone=self.ZONE,
168 zone=self.ZONE,
Dcheeps_compute_client_test.py55 fake_cfg.zone = self.ZONE
116 zone=self.ZONE,
Dgoldfish_compute_client_test.py59 fake_cfg.zone = self.ZONE
130 zone=self.ZONE,
Dcheeps_compute_client.py116 zone=self._zone,
Dcvd_compute_client.py173 zone=self._zone,
Dgoldfish_compute_client.py224 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/
Ddevice_driver_test.py42 cfg.zone = "fake_zone"
167 instance_names, cfg.zone)
267 zone=cfg.zone)
269 instances=["fake_instance_1"], zone=cfg.zone)
275 self.compute_client.ListDisks.assert_called_once_with(zone=cfg.zone)
277 disk_names=["fake_disk_1"], zone=cfg.zone)
Ddevice_driver.py252 self._cfg.zone)
459 instance_names, cfg.zone)
517 items = compute_client.ListInstances(zone=cfg.zone)
526 zone=cfg.zone)
546 items = compute_client.ListDisks(zone=cfg.zone)
556 zone=cfg.zone)
Dconfig_test.py126 self.assertEqual(cfg.zone, "us-central1-f")
167 self.assertEqual(cfg.zone, "")
183 self.assertEqual(cfg.zone, "us-central1-f")
Dconfig.py117 self.zone = usr_cfg.zone
/tools/acloud/setup/
Dgcp_setup_runner.py200 self.zone = cfg.zone
278 "Would you like to update them?[y/N]: \n") % (self.project, self.zone)
280 if not self.project or not self.zone:
351 self.zone = zone_match.group("zone")
354 UpdateConfigFile(self.config_path, "zone", self.zone)
Dgcp_setup_runner_test.py115 self.gcp_env_runner.zone = "fake_zone"
119 self.assertEqual(self.gcp_env_runner.zone, "new_zone")
/tools/acloud/list/
Dlist.py104 all_instances = compute_client.ListInstances(cfg.zone,
107 cfg.zone, filter_item, all_instances)
/tools/acloud/internal/proto/
Duser_config.proto27 // Compute Engine zone name, e.g. "us-central1-f"
28 optional string zone = 4; field
/tools/acloud/reconnect/
Dreconnect.py76 cfg.zone,
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java524 String zone = config.getValueForKey(AcloudKeys.ZONE); in getInstanceSerialLog() local
535 compute.instances().getSerialPortOutput(project, zone, instanceName); in getInstanceSerialLog()
/tools/acloud/create/
Dcheeps_remote_image_remote_instance_test.py52 cfg.zone = "fake_zone"
/tools/acloud/public/actions/
Dcreate_cuttlefish_action_test.py76 cfg.zone = "fake_zone"
Dcommon_operations_test.py83 cfg.zone = "fake_zone"
Dcreate_goldfish_action_test.py83 cfg.zone = "fake_zone"

12