Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
807b0a0c8ce6c627e0fb3e5e1557468d276fadaf
[simgrid.git] / examples / platforms / data_center.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="AS0" routing="Vivaldi">
5     <AS id="dataCenter1" routing="Full">
6       <!-- 3 cabinets, no zone dist area, 1 horiz dist area, no multi-homing, telecom and operation rooms omitted -->
7       <!-- cabinets -->
8       <cluster id="cabinet1" prefix="cb1-" suffix=".dc1.acloud.com" radical="1-40" speed="5.2297Gf"
9                bw="125MBps" lat="100us" bb_bw="1.25GBps" bb_lat="100us"/>
10       <cluster id="cabinet2" prefix="cb2-" suffix=".dc1.acloud.com" radical="1-50" speed="8.8925Gf"
11                bw="125MBps" lat="100us" bb_bw="1.25GBps" bb_lat="100us"/>
12       <cluster id="cabinet3" prefix="cb3-" suffix=".dc1.acloud.com" radical="1-30" speed="13.357Gf"
13                bw="125MBps" lat="100us" bb_bw="1.25GBps" bb_lat="100us"/>
14
15       <link id="link_dc1_cb1" bandwidth="1.25GBps" latency="100us"/>
16       <link id="link_dc1_cb2" bandwidth="1.25GBps" latency="100us"/>
17       <link id="link_dc1_cb3" bandwidth="1.25GBps" latency="100us"/>
18
19       <!-- horiz dist area switch, main dist area switch, entrance room switch, end point for ISP  -->
20       <AS id="gw_dataCenter1" routing="Floyd">
21         <!-- equipments-->
22         <router id="gw_dc1_horizdist"/>
23         <router id="gw_dc1_maindist"/>
24         <router id="gw_dc1_entranceroom"/>
25
26         <!-- ISP end point, entering the cloud, so it has coordinates -->
27         <router id="router_dataCenter1" coordinates="25.5 9.4 1.4"/>
28
29         <!-- links -->
30         <link id="dc1_horizdist_maindist" bandwidth="1.25GBps" latency="100us"/>        
31         <link id="dc1_maindist_entranceroom" bandwidth="1.25GBps" latency="100us"/>  
32         <link id="dc1_entranceroom_ISP" bandwidth="1.25GBps" latency="100us"/> 
33
34         <!-- links to router relationships -->
35         <route src="gw_dc1_horizdist" dst="gw_dc1_maindist">
36           <link_ctn id="dc1_horizdist_maindist"/>
37         </route>
38         <route src="gw_dc1_maindist" dst="gw_dc1_entranceroom">
39           <link_ctn id="dc1_maindist_entranceroom"/>
40         </route>
41         <route src="gw_dc1_entranceroom" dst="router_dataCenter1">
42           <link_ctn id="dc1_entranceroom_ISP"/>
43         </route>
44       </AS>
45
46       <!-- internal routes between cabinets -->
47       <ASroute src="cabinet2" dst="cabinet3" gw_src="cb2-cabinet2_router.dc1.acloud.com"
48                gw_dst="cb3-cabinet3_router.dc1.acloud.com">
49         <link_ctn id="link_dc1_cb2"/>
50         <link_ctn id="link_dc1_cb3"/>
51       </ASroute>
52       <ASroute src="cabinet1" dst="cabinet3" gw_src="cb1-cabinet1_router.dc1.acloud.com"
53                gw_dst="cb3-cabinet3_router.dc1.acloud.com">
54         <link_ctn id="link_dc1_cb1"/>
55         <link_ctn id="link_dc1_cb3"/>
56       </ASroute>
57       <ASroute src="cabinet1" dst="cabinet2" gw_src="cb1-cabinet1_router.dc1.acloud.com"
58                gw_dst="cb2-cabinet2_router.dc1.acloud.com">
59         <link_ctn id="link_dc1_cb1"/>
60         <link_ctn id="link_dc1_cb2"/>
61       </ASroute>
62     </AS>
63   </AS>
64 </platform>