'Initialize server-volume connection for volume copy.'

def _initialize_pair_connection(self, ldev):

    (port, gid) = (None, None)
    for (port, gid) in self._pair_targets:
        try:
            targets = {'list': [(port, gid)], 'lun': {}}
            return self.map_ldev(targets, ldev)
        except exception.VSPError:
            utils.output_log(MSG.MAP_LDEV_FAILED, ldev=ldev, port=port, id=gid, lun=None)
    msg = utils.output_log(MSG.NO_MAPPING_FOR_LDEV, ldev=ldev)
    raise exception.VSPError(msg)
