Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add platforms for ns3.
[simgrid.git] / examples / msg / ns3 / Two_clusters.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
3 <platform version="3">
4
5 <!--
6                                           __________________________________________________
7                   ____|_____                                                                                    |
8                                 |              |                                                                                        |
9                                 |  router1 |                                                                                    |
10         ____________|__________|_____________ csma1                                                     |
11           |   |   |              |     |   |                                                            |backbone
12     l0| l1|     l2|           l97|  l98|   | l99                                                        |
13       |   |       |   ........   |     |   |                                                            |
14       |                                |                                                                |
15    c-0.me                             c-99.me                           |
16                      ___________________________________________________|
17                                   ___|______
18                                 |              |
19                                 |  router2 |
20         ____________|__________|_____________ csma2
21          |    |    |               |     |   |          
22  l100|l101|        |           l197| l198|   | l199
23      |    |        |   ........    |     |   |
24      |                                   |
25    c-100.me                             c-199.me        
26 -->
27 <AS  id="AS0"  routing="Full">
28   <cluster id="my_cluster_1" prefix="c-" suffix=".me"
29                 radical="0-99"  power="1000000000"    bw="125000000"     lat="5E-5"
30         bb_bw="2250000000" bb_lat="5E-4"/>
31                 
32   <cluster id="my_cluster_2" prefix="c-" suffix=".me"
33             radical="100-199" power="1000000000"        bw="125000000"  lat="5E-5"
34             bb_bw="2250000000" bb_lat="5E-4"/>  
35        
36      <link id="backbone" bandwidth="1250000000" latency="5E-4"/>  
37         
38      <ASroute src="my_cluster_1" dst="my_cluster_2" 
39          gw_src="c-my_cluster_1_router.me" 
40          gw_dst="c-my_cluster_2_router.me">
41                 <link_ctn id="backbone"/>
42      </ASroute>   
43      <ASroute src="my_cluster_2" dst="my_cluster_1" 
44          gw_src="c-my_cluster_2_router.me" 
45          gw_dst="c-my_cluster_1_router.me">
46                 <link_ctn id="backbone"/>
47      </ASroute> 
48 </AS>
49 </platform>