'Delete a logical volume.'

def delete_volume(self, volume):

    disco_vol_id = volume['provider_location']
    LOG.debug('Delete    disco    volume    :    %s.', disco_vol_id)
    reply = self.client.volumeDelete(disco_vol_id)
    status = reply['status']
    result = reply['result']
    LOG.debug('Delete    volume    [status]    %(stat)s    -    [result]    %(res)s.', {'stat': six.text_type(status), 'res': result})
    if status:
        msg = (_('Error    while    deleting    volume    [status]    %(stat)s    -    [result]    %(res)s.') % {'stat': six.text_type(status), 'res': result})
        LOG.error(msg)
        raise exception.VolumeBackendAPIException(data=msg)
    LOG.debug('Volume    %s    deleted.', volume['name'])
