Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rewrite file example for use MSG API
[simgrid.git] / examples / platforms / cloud.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
3 <platform version="3">
4 <config id="General">
5         <prop id="network/coordinates" value="yes"></prop>
6 </config>
7
8 <AS  id="AS0"  routing="Vivaldi">
9    
10    <AS  id="AS1_dc1"  routing="RuleBased">
11    <!--small tier-1 datacenter, according to TIA-942 annex G tiers notation, routing : rule based, because of its regularity-->    
12             <!-- 3 clusters, no zone dist area, 1 horiz dist area, no multi-homing, telecom and operation rooms omitted because not a part of the production platform  -->
13             <!-- clusters -->
14             <cluster id="AS1_cb1" prefix="cb1-" suffix=".dc1.acloud.com" radical="1-40" power="5.2297E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
15             <link   id="link_dc1_cb1" bandwidth="1.25E9" latency="1.0E-4"/>
16
17             <cluster id="AS1_cb2" prefix="cb2-" suffix=".dc1.acloud.com" radical="1-50" power="8.8925E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
18             <link   id="link_dc1_cb2" bandwidth="1.25E9" latency="1.0E-4"/>
19
20             <cluster id="AS1_cb3" prefix="cb3-" suffix=".dc1.acloud.com" radical="1-30" power="13.357E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
21             <link   id="link_dc1_cb3" bandwidth="1.25E9" latency="1.0E-4"/>
22  
23             <!-- horiz dist area switch, main dist area switch, entrance room switch, end point for ISP  -->
24             <AS id="gw_AS1_dc1" routing="Floyd">
25                 <!-- equipments-->
26                     <router id="gw_dc1_horizdist"/>
27                     <router id="gw_dc1_maindist"/>
28                     <router id="gw_dc1_entranceroom"/>
29                     <!-- ISP end point, entering the cloud, so it has coordinates -->
30                     <router id="router_AS1_dc1" coordinates="25.5 9.4 1.4" />
31                     <!-- links -->
32                     <link id="dc1_horizdist_maindist"        bandwidth="1.25E9" latency="1.0E-4"/>        
33                     <link id="dc1_maindist_entranceroom"        bandwidth="1.25E9" latency="1.0E-4"/>  
34                         <link id="dc1_entranceroom_ISP"        bandwidth="1.25E9" latency="1.0E-4"/>  
35                     <!-- links to router relationships -->
36                     <route src="gw_dc1_horizdist" dst="gw_dc1_maindist"><link_ctn id="dc1_horizdist_maindist"/></route>
37                     <route src="gw_dc1_maindist" dst="gw_dc1_entranceroom"><link_ctn id="dc1_maindist_entranceroom"/></route>
38                     <route src="gw_dc1_entranceroom" dst="router_AS1_dc1"><link_ctn id="dc1_entranceroom_ISP"/></route>
39             </AS>
40            
41             <!-- internal routes between clusters -->
42             <ASroute src="AS1_cb(.*)" dst="AS1_cb(.*)" gw_src="cb$1src-AS1_cb$1src_router.dc1.acloud.com" gw_dst="cb$1dst-AS1_cb$1dst_router.dc1.acloud.com" symmetrical="YES">
43                     <link_ctn id="link_dc1_cb$1src"/>
44                     <link_ctn id="link_dc1_cb$1dst"/>
45             </ASroute>
46             <!-- clusters to exit AS -->
47             <ASroute src="AS1_cb(.*)" dst="gw_AS1_(.*)" gw_src="cb$1src-AS1_cb$1src_router.dc1.acloud.com" gw_dst="gw_dc1_horizdist" symmetrical="NO">
48                     <link_ctn id="link_dc1_cb$1src"/>
49             </ASroute> 
50             <ASroute dst="AS1_cb(.*)" src="gw_AS1_(.*)" gw_dst="cb$1dst-AS1_cb$1dst_router.dc1.acloud.com" gw_src="gw_dc1_horizdist" symmetrical="NO">
51                     <link_ctn id="link_dc1_cb$1dst"/>
52             </ASroute>    
53    </AS>
54
55    <AS  id="AS2_dc2"  routing="RuleBased">
56    <!--bigger tier-1 datacenter, according to TIA-942 annex G tiers notation, routing : rule based, because of its regularity-->   
57             <!-- 6 clusters, no zone dist area, 1 horiz dist area, no multi-homing, telecom and operation rooms omitted because not a part of the production platform  -->
58             <!-- clusters -->
59             <cluster id="AS2_cb1" prefix="cb1-" suffix=".dc2.acloud.com" radical="1-40" power="5.2297E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
60             <link   id="link_dc2_cb1" bandwidth="1.25E9" latency="1.0E-4"/>
61
62             <cluster id="AS2_cb2" prefix="cb2-" suffix=".dc2.acloud.com" radical="1-50" power="8.8925E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
63             <link   id="link_dc2_cb2" bandwidth="1.25E9" latency="1.0E-4"/>
64
65             <cluster id="AS2_cb3" prefix="cb3-" suffix=".dc2.acloud.com" radical="1-30" power="13.357E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
66             <link   id="link_dc2_cb3" bandwidth="1.25E9" latency="1.0E-4"/>
67
68             <cluster id="AS2_cb4" prefix="cb4-" suffix=".dc2.acloud.com" radical="1-40" power="5.2297E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
69             <link   id="link_dc2_cb4" bandwidth="1.25E9" latency="1.0E-4"/>
70
71             <cluster id="AS2_cb5" prefix="cb5-" suffix=".dc2.acloud.com" radical="1-50" power="8.8925E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
72             <link   id="link_dc2_cb5" bandwidth="1.25E9" latency="1.0E-4"/>
73
74             <cluster id="AS2_cb6" prefix="cb6-" suffix=".dc2.acloud.com" radical="1-30" power="13.357E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
75             <link   id="link_dc2_cb6" bandwidth="1.25E9" latency="1.0E-4"/>
76
77             <!-- horiz dist area switch, main dist area switch, entrance room switch, end point for ISP  -->
78             <AS id="gw_AS2_dc2" routing="Floyd">
79                 <!-- equipments-->
80                     <router id="gw_dc2_horizdist"/>
81                     <router id="gw_dc2_maindist"/>
82                     <router id="gw_dc2_entranceroom"/>
83                     <!-- ISP end point, entering the cloud, so it has coordinates -->
84                     <router id="router_AS2_dc2" coordinates="12.8 14.4 6.4" />
85                     <!-- links -->
86                     <link id="dc2_horizdist_maindist"        bandwidth="1.25E9" latency="1.0E-4"/>        
87                     <link id="dc2_maindist_entranceroom"        bandwidth="1.25E9" latency="1.0E-4"/>  
88                         <link id="dc2_entranceroom_ISP"        bandwidth="1.25E9" latency="1.0E-4"/>  
89                     <!-- links to router relationships -->
90                     <route src="gw_dc2_horizdist" dst="gw_dc2_maindist"><link_ctn id="dc2_horizdist_maindist"/></route>
91                     <route src="gw_dc2_maindist" dst="gw_dc2_entranceroom"><link_ctn id="dc2_maindist_entranceroom"/></route>
92                     <route src="gw_dc2_entranceroom" dst="router_AS2_dc2"><link_ctn id="dc2_entranceroom_ISP"/></route>
93             </AS>
94             
95             <!-- internal routes between clusters -->
96             <ASroute src="AS2_cb(.*)" dst="AS2_cb(.*)" gw_src="cb$1src-AS2_cb$1src_router.dc2.acloud.com" gw_dst="cb$1dst-AS2_cb$1dst_router.dc2.acloud.com" symmetrical="YES">
97                     <link_ctn id="link_dc2_cb$1src"/>
98                     <link_ctn id="link_dc2_cb$1dst"/>
99             </ASroute>
100             <!-- clusters to exit AS -->
101             <ASroute src="AS2_cb(.*)" dst="gw_AS2_(.*)" gw_src="cb$1src-AS2_cb$1src_router.dc2.acloud.com" gw_dst="gw_dc2_horizdist" symmetrical="NO">
102                     <link_ctn id="link_dc2_cb$1src"/>
103             </ASroute> 
104             <ASroute dst="AS2_cb(.*)" src="gw_AS2_(.*)" gw_dst="cb$1dst-AS2_cb$1dst_router.dc2.acloud.com" gw_src="gw_dc2_horizdist" symmetrical="NO">
105                     <link_ctn id="link_dc2_cb$1dst"/>
106             </ASroute> 
107    </AS>
108
109    <AS  id="AS3_dc3"  routing="RuleBased">  
110    <!--small tier-1 datacenter, according to TIA-942 annex G tiers notation, routing : rule based, because of its regularity-->    
111             <!-- 4 clusters, no zone dist area, 1 horiz dist area, no multi-homing, telecom and operation rooms omitted because not a part of the production platform  -->
112             <!-- clusters -->
113             <cluster id="AS3_cb1" prefix="cb1-" suffix=".dc3.acloud.com" radical="1-40" power="5.2297E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
114             <link   id="link_dc3_cb1" bandwidth="1.25E9" latency="1.0E-4"/>
115
116             <cluster id="AS3_cb2" prefix="cb2-" suffix=".dc3.acloud.com" radical="1-50" power="8.8925E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
117             <link   id="link_dc3_cb2" bandwidth="1.25E9" latency="1.0E-4"/>
118
119             <cluster id="AS3_cb3" prefix="cb3-" suffix=".dc3.acloud.com"  radical="1-30" power="13.357E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
120             <link   id="link_dc3_cb3" bandwidth="1.25E9" latency="1.0E-4"/>
121
122             <cluster id="AS3_cb4" prefix="cb4-" suffix=".dc3.acloud.com" radical="1-30" power="13.357E9" bw="1.25E8" lat="1.0E-4" bb_bw="1.25E9" bb_lat="1.0E-4"></cluster>
123             <link   id="link_dc3_cb4" bandwidth="1.25E9" latency="1.0E-4"/>
124
125             <!-- horiz dist area switch, main dist area switch, entrance room switch, end point for ISP  -->
126             <AS id="gw_AS3_dc3" routing="Floyd">
127                 <!-- equipments-->
128                     <router id="gw_dc3_horizdist"/>
129                     <router id="gw_dc3_maindist"/>
130                     <router id="gw_dc3_entranceroom"/>
131                     <!-- ISP end point, entering the cloud, so it has coordinates -->
132                     <router id="router_AS3_dc3" coordinates="6.0 5.7 6.6" />
133                     <!-- links -->
134                     <link id="dc3_horizdist_maindist"        bandwidth="1.25E9" latency="1.0E-4"/>        
135                     <link id="dc3_maindist_entranceroom"        bandwidth="1.25E9" latency="1.0E-4"/>  
136                         <link id="dc3_entranceroom_ISP"        bandwidth="1.25E9" latency="1.0E-4"/>  
137                     <!-- links to router relationships -->
138                     <route src="gw_dc3_horizdist" dst="gw_dc3_maindist"><link_ctn id="dc3_horizdist_maindist"/></route>
139                     <route src="gw_dc3_maindist" dst="gw_dc3_entranceroom"><link_ctn id="dc3_maindist_entranceroom"/></route>
140                     <route src="gw_dc3_entranceroom" dst="router_AS3_dc3"><link_ctn id="dc3_entranceroom_ISP"/></route>
141             </AS>
142             
143             <!-- internal routes between clusters -->
144             <ASroute src="AS3_cb(.*)" dst="AS3_cb(.*)" gw_src="cb$1src-AS3_cb$1src_router.dc3.acloud.com" gw_dst="cb$1dst-AS3_cb$1dst_router.dc3.acloud.com" symmetrical="YES">
145                     <link_ctn id="link_dc3_cb$1src"/>
146                     <link_ctn id="link_dc3_cb$1dst"/>
147             </ASroute>
148             <!-- clusters to exit AS -->
149             <ASroute src="AS3_cb(.*)" dst="gw_AS3_(.*)" gw_src="cb$1src-AS3_cb$1src_router.dc3.acloud.com" gw_dst="gw_dc3_horizdist" symmetrical="NO">
150                     <link_ctn id="link_dc3_cb$1src"/>
151             </ASroute>
152             <ASroute dst="AS3_cb(.*)" src="gw_AS3_(.*)" gw_dst="cb$1dst-AS3_cb$1dst_router.dc3.acloud.com" gw_src="gw_dc3_horizdist" symmetrical="NO">
153                     <link_ctn id="link_dc3_cb$1dst"/>
154             </ASroute>  
155    </AS>
156               
157 </AS>
158 </platform>