Lines Matching refs:disk_name
204 def GetDisk(self, disk_name, zone): argument
216 project=self._project, zone=zone, disk=disk_name)
219 def CheckDiskExists(self, disk_name, zone): argument
230 self.GetDisk(disk_name, zone)
234 logger.debug("CheckDiskExists: disk_name: %s, result: %s", disk_name,
239 disk_name, argument
261 disk_name, size_gb, str(source_image))
263 "name": disk_name,
280 logger.error("Creating disk failed, cleaning up: %s", disk_name)
281 if self.CheckDiskExists(disk_name, zone):
282 self.DeleteDisk(disk_name, zone)
284 logger.info("Disk %s has been created.", disk_name)
286 def DeleteDisk(self, disk_name, zone): argument
293 logger.info("Deleting disk %s", disk_name)
295 project=self._project, zone=zone, disk=disk_name)
301 logger.info("Deleted disk %s", disk_name)
322 for disk_name in set(disk_names):
324 project=self._project, disk=disk_name, zone=zone)
325 delete_requests[disk_name] = request
650 def DetachDisk(self, instance, zone, disk_name): argument
669 deviceName=disk_name)
1081 disk_name, argument
1098 "diskName": disk_name,