Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a platform with a bypass route. Add the test to cmake.
[simgrid.git] / teshsuite / simdag / platforms / three_clusters_bypass.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
3 <platform version="3">
4 <AS  id="AS0"  routing="Full">
5   <cluster id="my_cluster_1" prefix="" suffix=""
6                 radical="1"     power="1000000000"    bw="125000000"     lat="5E-5"/>
7                 
8   <cluster id="my_cluster_2" prefix="" suffix=""
9             radical="2" power="1000000000"      bw="125000000"  lat="5E-5"/>  
10             
11   <cluster id="my_cluster_3" prefix="" suffix=""
12         radical="3" power="1000000000"    bw="125000000"  lat="5E-5"/>  
13        
14      <link id="link1" bandwidth="1250000000" latency="5E-4"/>  
15          <link id="link2" bandwidth="1250000000" latency="5E-4"/>
16          <link id="link3" bandwidth="1250000000" latency="5E-4"/>
17          <link id="link_tmp"  bandwidth="1250000000" latency="5E-4"/>
18         
19      <ASroute src="my_cluster_1" dst="my_cluster_2" 
20          gw_src="my_cluster_1_router" 
21          gw_dst="my_cluster_2_router">
22                 <link_ctn id="link1"/>
23                 <link_ctn id="link2"/>
24      </ASroute>
25      
26      <ASroute src="my_cluster_1" dst="my_cluster_3" 
27      gw_src="my_cluster_1_router" 
28      gw_dst="my_cluster_3_router">
29         <link_ctn id="link1"/>
30         <link_ctn id="link3"/>
31      </ASroute>
32      
33      <ASroute src="my_cluster_2" dst="my_cluster_3" 
34      gw_src="my_cluster_2_router" 
35      gw_dst="my_cluster_3_router">
36         <link_ctn id="link2"/>
37         <link_ctn id="link3"/>
38      </ASroute>
39      
40      <bypassRoute src="my_cluster_1" dst="my_cluster_2"
41      gw_src="my_cluster_$1src_router" 
42      gw_dst="my_cluster_$1dst_router">
43         <link_ctn id="link_tmp"/>  
44      </bypassRoute>
45 </AS>
46 </platform>