'Deletes a LUN or mount point.'

def delete_lun(self, name, force=False):

    lun = self.get_lun(name=name)
    smp_attached_snap = (lun.attached_snapshot if lun.is_snap_mount_point else None)
    try:
        lun.delete(force_detach=True, detach_from_sg=force)
        if smp_attached_snap:
            smp_attached_snap.delete()
    except storops_ex.VNXLunNotFoundError as ex:
        LOG.info('LUN    %(name)s    is    already    deleted.    This    message    can    be    safely    ignored.    Message:    %(msg)s', {'name': name, 'msg': ex.message})
