'Delete a volume.'

def delete_volume(self, volume):

    try:
        self._check_volume(volume)
        self._eql_execute('volume', 'select', volume['name'], 'offline')
        self._eql_execute('volume', 'delete', volume['name'])
    except exception.VolumeNotFound:
        LOG.warning('Volume    %s    was    not    found    while    trying    to    delete    it.', volume['name'])
    except Exception:
        with excutils.save_and_reraise_exception():
            LOG.error('Failed    to    delete    volume    "%s".', volume['name'])
