Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
"Refresh" example platforms.
[simgrid.git] / buildtools / Cmake / generate_g5k_platform.pl
index a2e29ca..b8ba575 100755 (executable)
@@ -99,15 +99,15 @@ while(defined($line=<SITES_LIGNE>))
                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";
@@ -115,7 +115,7 @@ while(defined($line=<SITES_LIGNE>))
                
                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";