'Deletes a volume.'

def delete_volume(self, volume):

    try:
        vol = self._get_volume(volume['name_id'])
        self._client.delete_volume(vol['volumeRef'])
    except (exception.NetAppDriverException, exception.VolumeNotFound):
        LOG.warning('Volume    %s    already    deleted.', volume['id'])
        return
