Lines Matching refs:ZONE
55 ZONE = "fake-zone" variable in ComputeClientTest
101 elif operation_scope == gcompute_client.OperationScope.ZONE:
125 {"status": "GOOD"}, gcompute_client.OperationScope.ZONE)
127 {"name": self.OPERATION_NAME}, gcompute_client.OperationScope.ZONE,
128 self.ZONE)
133 zone=self.ZONE)
475 result = self.compute_client.GetInstance(self.INSTANCE, self.ZONE)
478 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE)
495 instances = self.compute_client.ListInstances(self.ZONE)
499 zone=self.ZONE,
504 zone=self.ZONE,
569 zone=self.ZONE,
574 project=PROJECT, zone=self.ZONE, body=expected_body)
577 operation_scope=gcompute_client.OperationScope.ZONE,
578 scope_name=self.ZONE)
640 zone=self.ZONE,
645 project=PROJECT, zone=self.ZONE, body=expected_body)
647 mock.ANY, operation_scope=gcompute_client.OperationScope.ZONE,
648 scope_name=self.ZONE)
658 instance=self.INSTANCE, zone=self.ZONE)
660 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE)
663 operation_scope=gcompute_client.OperationScope.ZONE,
664 scope_name=self.ZONE)
677 fake_instances, self.ZONE)
682 zone=self.ZONE),
686 zone=self.ZONE)
704 "fake_disk", "fake_image", 10, self.ZONE, source_project=source_project)
707 zone=self.ZONE,
717 self.ZONE)
731 "fake_disk", "fake_image", 10, self.ZONE, source_project=source_project)
734 zone=self.ZONE,
744 self.ZONE)
761 self.ZONE,
766 zone=self.ZONE,
775 (PROJECT, self.ZONE, expected_disk_type_string)
792 self.ZONE,
797 zone=self.ZONE,
806 (PROJECT, self.ZONE, expected_disk_type_string)
818 "fake_instance_1", self.ZONE, deviceName="fake_disk",
822 zone=self.ZONE,
837 self.compute_client.DetachDisk("fake_instance_1", self.ZONE, "fake_disk")
840 zone=self.ZONE,
854 self.compute_client.AttachAccelerator("fake_instance_1", self.ZONE, 1,
858 zone=self.ZONE,
875 fake_instances, self.ZONE, action)
892 instance=self.INSTANCE, zone=self.ZONE)
894 project=PROJECT, zone=self.ZONE, instance=self.INSTANCE)
897 operation_scope=gcompute_client.OperationScope.ZONE,
898 scope_name=self.ZONE)
920 "name2", self.ZONE)
923 self.ZONE)
927 [mock.call("name1", self.ZONE), mock.call("name2", self.ZONE)])
974 self.ZONE)
978 zone=self.ZONE,
997 instance=self.INSTANCE, zone=self.ZONE)
1005 zone=self.ZONE)
1008 zone=self.ZONE,
1040 ips=["172.22.22.22", "172.22.22.23"], zone=self.ZONE)
1294 fake_disks, zone=self.ZONE)
1297 mock.call(project=PROJECT, disk="fake_disk_1", zone=self.ZONE),
1298 mock.call(project=PROJECT, disk="fake_disk_2", zone=self.ZONE)