Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename the property used by the energy plugin for clarity
[simgrid.git] / examples / platforms / bypassASroute.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="1Gf"    bw="125MBps"     lat="50us"/>
7                 
8   <cluster id="my_cluster_2" prefix="" suffix=""
9             radical="2" power="1Gf"     bw="125MBps"    lat="50us"/>  
10             
11   <cluster id="my_cluster_3" prefix="" suffix=""
12         radical="3" power="1Gf"    bw="125MBps"  lat="50us"/>  
13        
14      <link id="link1" bandwidth="1.25GBps" latency="500us"/>  
15          <link id="link2" bandwidth="1.25GBps" latency="500us"/>
16          <link id="link3" bandwidth="1.25GBps" latency="500us"/>
17          <link id="link_tmp"  bandwidth="1.25GBps" latency="500us"/>
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      <bypassASroute src="my_cluster_1" dst="my_cluster_2"
41      gw_src="my_cluster_1_router" 
42      gw_dst="my_cluster_2_router">
43         <link_ctn id="link_tmp"/>  
44      </bypassASroute>
45 </AS>
46 </platform>