+ if (xbt_dict_get_or_null(rc->to_index, route->src_gateway) == NULL)
+ surf_parse_error("The ASroute source gateway must be part of the current AS (being in a sub-AS is not enough), but '%s' is not in '%s'.",
+ route->src_gateway,rc->name);
+ if (xbt_dict_get_or_null(rc->to_index, route->dst_gateway) == NULL)
+ surf_parse_error("The ASroute destination gateway must be part of the current AS (being in a sub-AS is not enough), but '%s' is not in '%s'.",
+ route->dst_gateway,rc->name);
+