'Delete the specified volume.'

def delete_volume(self, volume):

    start_time = time.time()
    LOG.debug('volume:    %s', volume.__dict__)
    lun_naa = self._get_lun_naa_from_volume_metadata(volume)
    if (lun_naa == ''):
        LOG.debug('Volume    %s    does    not    exist.', volume.id)
        return
    del_lun = self.api_executor.get_lun_info(LUNNAA=lun_naa)
    if (del_lun is None):
        LOG.debug('Volume    %s    does    not    exist.', lun_naa)
        return
    lun_index = del_lun.find('LUNIndex').text
    LOG.debug('LUNIndex:    %s', lun_index)
    if (del_lun.find('LUNStatus').text == '2'):
        target_index = del_lun.find('LUNTargetList').find('row').find('targetIndex').text
        LOG.debug('target_index:    %s', target_index)
        self.api_executor.disable_lun(lun_index, target_index)
        self.api_executor.unmap_lun(lun_index, target_index)
    is_lun_busy = False
    while True:
        is_lun_busy = self.api_executor.delete_lun(lun_index)
        if (not is_lun_busy):
            break
    elapsed_time = (time.time() - start_time)
    LOG.debug('delete_volume    elapsed_time:    %s', elapsed_time)
