'Delete the LUN between the specified LDEV and port-gid.'

def unmap_ldev(self, targets, ldev):

    interval = _LUN_RETRY_INTERVAL
    success_code = HORCM_EXIT_CODE.union([EX_ENOOBJ])
    timeout = utils.DEFAULT_PROCESS_WAITTIME
    for target in targets['list']:
        self.run_raidcom('delete', 'lun', '-port', target, '-ldev_id', ldev, interval=interval, success_code=success_code, timeout=timeout)
        LOG.debug('Deleted    logical    unit    path    of    the    specified    logical    device.    (LDEV:    %(ldev)s,    target:    %(target)s)', {'ldev': ldev, 'target': target})
