Logo AND Algorithmique Numérique Distribuée

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