'Terminate server-volume connection for volume copy.'

def _terminate_pair_connection(self, ldev):

    targets = {'list': []}
    ldev_info = self.get_ldev_info(['sts', 'vol_attr'], '-ldev_id', ldev)
    if (((ldev_info['sts'] == NORMAL_STS) and (FULL_ATTR in ldev_info['vol_attr'])) or (self._get_thin_copy_svol_status(ldev) != SMPL)):
        LOG.debug('The    specified    LDEV    has    pair.    Therefore,    unmapping    operation    was    skipped.    (LDEV:    %(ldev)s,    vol_attr:    %(info)s)', {'ldev': ldev, 'info': ldev_info['vol_attr']})
        return
    self._find_mapped_targets_from_storage(targets, ldev, self.storage_info['controller_ports'], is_pair=True)
    self.unmap_ldev(targets, ldev)
