'Deletes a logical volume.'

def _delete_volume(self, volume, is_snapshot=False):

    if ((self.configuration.volume_clear != 'none') and (self.configuration.lvm_type != 'thin')):
        self._clear_volume(volume, is_snapshot)
    name = volume['name']
    if is_snapshot:
        name = self._escape_snapshot(volume['name'])
    self.vg.delete(name)
