'Pause pprc pairs.
if user wants to adjust group, he/she does not need to pause/resume
pprc pairs, here just provide a way to pause replicaiton.'

def disable_replication(self, context, group, volumes):

    volumes_model_update = []
    model_update = {'replication_status': fields.ReplicationStatus.DISABLED}
    if volumes:
        luns = [Lun(volume) for volume in volumes]
        try:
            self._replication.disable_replication(luns)
        except restclient.APIException as e:
            msg = (_('Failed    to    disable    replication    for    group    %(id)s,    Exception:    %(ex)s.') % {'id': group.id, 'ex': six.text_type(e)})
            LOG.exception(msg)
            raise exception.VolumeDriverException(message=msg)
        for lun in luns:
            volumes_model_update.append({'id': lun.os_id, 'replication_status': fields.ReplicationStatus.DISABLED})
    return (model_update, volumes_model_update)
