'Sets up the replication failback.
:param api: Dell SC API.
:param volume: Cinder Volume
:param qosnode: Dell QOS node object.
:return: replitem dict.'

def _failback_replication(self, api, volume, qosnode):

    LOG.info('failback_volumes:    replicated    volume')
    cvol = api.find_volume(volume['id'], volume['provider_id'])
    ovol = api.find_repl_volume(volume['id'], api.primaryssn, None, True, False)
    api.remove_mappings(cvol)
    api.delete_replication(ovol, api.ssn, False)
    screpl = api.replicate_to_common(cvol, ovol, 'tempqos')
    screplid = None
    status = ''
    if screpl:
        screplid = screpl['instanceId']
        nvolid = screpl['destinationVolume']['instanceId']
        status = 'inprogress'
    else:
        LOG.error('Unable    to    restore    %s', volume['id'])
        screplid = None
        nvolid = None
        status = 'error'
    replitem = {'volume': volume, 'specs': self._parse_extraspecs(volume), 'qosnode': qosnode, 'screpl': screplid, 'cvol': cvol['instanceId'], 'ovol': ovol['instanceId'], 'nvol': nvolid, 'rdd': six.text_type(api.ssn), 'status': status}
    return replitem
