Home
last modified time | relevance | path

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

/tools/acloud/internal/lib/
Dgcompute_client.py100 zone=scope_name)
146 def GetDisk(self, disk_name, zone): argument
158 zone=zone,
162 def CheckDiskExists(self, disk_name, zone): argument
173 self.GetDisk(disk_name, zone)
181 def CreateDisk(self, disk_name, source_image, size_gb, zone): argument
197 self._project, zone),
201 zone=zone,
207 scope_name=zone)
210 if self.CheckDiskExists(disk_name, zone):
[all …]
Dgcompute_client_test.py105 zone=self.ZONE)
319 project=self.PROJECT, zone=self.ZONE, instance=self.INSTANCE)
340 zone=self.ZONE,
345 zone=self.ZONE,
413 zone=self.ZONE)
416 project=self.PROJECT, zone=self.ZONE, body=expected_body)
430 instance=self.INSTANCE, zone=self.ZONE)
432 project=self.PROJECT, zone=self.ZONE, instance=self.INSTANCE)
454 zone=self.ZONE), mock.call(
457 zone=self.ZONE)
[all …]
Dandroid_compute_client.py74 self._zone = acloud_config.zone
191 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.py58 cfg.zone = "fake_zone"
132 instance_names, cfg.zone)
231 zone=cfg.zone)
233 instances=["fake_instance_1"], zone=cfg.zone)
239 self.compute_client.ListDisks.assert_called_once_with(zone=cfg.zone)
241 disk_names=["fake_disk_1"], zone=cfg.zone)
Ddevice_driver.py240 self._cfg.zone)
452 instance_names, cfg.zone)
510 items = compute_client.ListInstances(zone=cfg.zone)
519 zone=cfg.zone)
539 items = compute_client.ListDisks(zone=cfg.zone)
549 zone=cfg.zone)
Dconfig.py83 self.zone = usr_cfg.zone
Dconfig_test.py103 self.assertEquals(cfg.zone, "us-central1-f")
/tools/acloud/internal/proto/
Duser_config.proto27 // Compute Engine zone name, e.g. "us-central1-f"
28 optional string zone = 4; field