Lines Matching refs:disk_name
279 def GetDisk(self, disk_name, zone): argument
291 project=self._project, zone=zone, disk=disk_name)
294 def CheckDiskExists(self, disk_name, zone): argument
305 self.GetDisk(disk_name, zone)
309 logger.debug("CheckDiskExists: disk_name: %s, result: %s", disk_name,
314 disk_name, argument
336 disk_name, size_gb, str(source_image))
338 "name": disk_name,
355 logger.error("Creating disk failed, cleaning up: %s", disk_name)
356 if self.CheckDiskExists(disk_name, zone):
357 self.DeleteDisk(disk_name, zone)
359 logger.info("Disk %s has been created.", disk_name)
361 def DeleteDisk(self, disk_name, zone): argument
368 logger.info("Deleting disk %s", disk_name)
370 project=self._project, zone=zone, disk=disk_name)
376 logger.info("Deleted disk %s", disk_name)
397 for disk_name in set(disk_names):
399 project=self._project, disk=disk_name, zone=zone)
400 delete_requests[disk_name] = request
740 def DetachDisk(self, instance, zone, disk_name): argument
759 deviceName=disk_name)
1171 disk_name, argument
1188 "diskName": disk_name,