Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
4b99bccaf7e0cdf8cde1fc0a5cd32c6dd1510b65
[simgrid.git] / examples / platforms / bypassRoute.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
3 <platform version="4">
4   <AS  id="AS_Big" routing="Dijkstra">
5     <AS id="AS_1" routing="Full">
6       <host id="AS_1_host1" speed="1Gf"/>
7       <link id="AS_1_link" bandwidth="1.25GBps" latency="500us"/>
8       <router id="AS_1_gateway"/>
9       <route src="AS_1_host1" dst="AS_1_gateway">
10         <link_ctn id="AS_1_link"/>
11       </route>
12     </AS>
13
14     <AS id="AS_2" routing="Floyd">
15       <host id="AS_2_host1" speed="1Gf"/>
16       <host id="AS_2_host2" speed="1Gf"/>
17       <host id="AS_2_host3" speed="1Gf"/>
18
19       <link id="AS_2_link1" bandwidth="1.25GBps" latency="500us"/>
20       <link id="AS_2_link2" bandwidth="1.25GBps" latency="500us"/>
21       <link id="AS_2_link3" bandwidth="1.25GBps" latency="500us"/>
22       <link id="AS_2_link4" bandwidth="1.25GBps" latency="500us"/>
23       <link id="AS_2_link5" bandwidth="1.25GBps" latency="500us"/>
24       <link id="AS_2_link6" bandwidth="1.25GBps" latency="500us"/>
25       <link id="AS_2_link7" bandwidth="1.25GBps" latency="500us"/>
26
27       <router id="central_router"/>
28       <router id="bypass_router1"/>
29       <router id="bypass_router2"/>
30       <router id="AS_2_gateway"/>
31
32       <!-- routes providing topological information -->  
33       <route src="central_router" dst="AS_2_host1">
34         <link_ctn id="AS_2_link1"/>
35       </route>
36       <route src="central_router" dst="AS_2_host2">
37         <link_ctn id="AS_2_link2"/>
38       </route>
39       <route src="central_router" dst="AS_2_host3">
40         <link_ctn id="AS_2_link3"/>
41       </route>
42       <route src="central_router" dst="AS_2_gateway">
43         <link_ctn id="AS_2_link4"/>
44       </route>
45
46       <!--  longer route -->
47       <route src="bypass_router1" dst="AS_2_host2">
48         <link_ctn id="AS_2_link5"/>
49       </route>
50       <route src="bypass_router1" dst="bypass_router2">
51         <link_ctn id="AS_2_link6"/>
52       </route>
53       <route src="bypass_router2" dst="AS_2_host1">
54         <link_ctn id="AS_2_link7"/>
55       </route>
56
57       <!-- bypass route -->
58       <bypassRoute src="AS_2_host1" dst="AS_2_host2">
59         <link_ctn id="AS_2_link7"/>
60         <link_ctn id="AS_2_link6"/>
61         <link_ctn id="AS_2_link5"/>
62       </bypassRoute>
63     </AS>
64
65     <link id="backbone" bandwidth="1.25GBps" latency="500us"/>
66
67     <ASroute src="AS_1" dst="AS_2" gw_src="AS_1_gateway" gw_dst="AS_2_gateway">
68       <link_ctn id="backbone"/>
69     </ASroute>
70   </AS>
71 </platform>