'Get the aggregate mapping config between src and destination.'

def _get_replication_aggregate_map(self, src_backend_name, target_backend_name):

    aggregate_map = {}
    config = config_utils.get_backend_configuration(src_backend_name)
    all_replication_aggregate_maps = config.safe_get('netapp_replication_aggregate_map')
    if all_replication_aggregate_maps:
        for replication_aggregate_map in all_replication_aggregate_maps:
            if (replication_aggregate_map.get('backend_id') == target_backend_name):
                replication_aggregate_map.pop('backend_id')
                aggregate_map = replication_aggregate_map
                break
    return aggregate_map
