print "\n";
print "\t\t\t<ASroute src=\"^AS_(.*)\$\" dst=\"^AS_(.*)\$\"\n";
- print "\t\t\t\tgw_src=\"\$1src-AS_\$1src_router.\$1src.grid5000.fr\"\n";
- print "\t\t\t\tgw_dst=\"\$1dst-AS_\$1dst_router.\$1dst.grid5000.fr\"\n";
+ print "\t\t\t\tgw_src=\"\$1src-AS_\$1src_router.$site.grid5000.fr\"\n";
+ print "\t\t\t\tgw_dst=\"\$1dst-AS_\$1dst_router.$site.grid5000.fr\"\n";
print "\t\t\t\tsymmetrical=\"YES\">\n";
print "\t\t\t\t\t<link_ctn id=\"link_\$1src\"/>\n";
print "\t\t\t\t\t<link_ctn id=\"link_\$1dst\"/>\n";
print "\t\t\t</ASroute>\n\n";
print "\t\t\t<ASroute src=\"^AS_(.*)\$\" dst=\"^gw_AS_(.*)\$\"\n";
- print "\t\t\t\tgw_src=\"\$1src-AS_\$1src_router.\$1src.grid5000.fr\"\n";
+ print "\t\t\t\tgw_src=\"\$1src-AS_\$1src_router.$site.grid5000.fr\"\n";
print "\t\t\t\tgw_dst=\"gw_\$1dst\"\n";
print "\t\t\t\tsymmetrical=\"NO\">\n";
print "\t\t\t\t\t<link_ctn id=\"link_\$1src\"/>\n";
print "\t\t\t<ASroute src=\"^gw_AS_(.*)\$\" dst=\"^AS_(.*)\$\"\n";
print "\t\t\t\tgw_src=\"gw_\$1src\"\n";
- print "\t\t\t\tgw_dst=\"\$1dst-AS_\$1dst_router.\$1dst.grid5000.fr\"\n";
+ print "\t\t\t\tgw_dst=\"\$1dst-AS_\$1dst_router.$site.grid5000.fr\"\n";
print "\t\t\t\tsymmetrical=\"NO\">\n";
print "\t\t\t\t\t<link_ctn id=\"link_\$1dst\"/>\n";
print "\t\t\t</ASroute>\n\n";