@vm_util.Retry(max_retries=3)
  def Attach(self, vm):

    res = self.cs.attach_volume(self.volume_id, vm.id)
    assert res, "Unable to attach volume"

    self.device_id = res['deviceid']

    self.device_path = "/dev/xvd" + \
        str(string.ascii_lowercase[self.device_id])
Attaches the disk to a VM.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/cloudstack/cloudstack_disk.py/CloudStackDisk.Attach