'Creates a snapshot of LUN on the Unity system.
:param src_lun_id: the source LUN ID of the snapshot.
:param name: the name of the snapshot. The Unity system will give one
if `name` is None.'

def create_snap(self, src_lun_id, name=None):

    try:
        lun = self.get_lun(lun_id=src_lun_id)
        snap = lun.create_snap(name, is_auto_delete=False)
    except storops_ex.UnitySnapNameInUseError as err:
        LOG.debug('Snap    %(snap_name)s    already    exists    on    LUN    %(lun_id)s.    Return    the    existing    one.    Message:    %(err)s', {'snap_name': name, 'lun_id': src_lun_id, 'err': err})
        snap = self.get_snap(name=name)
    return snap
