Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill a now useless type (to please sonar)
[simgrid.git] / examples / platforms / routing_cluster.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
3 <platform version="4.1">
4 <!--              router1 - - - - - - link1-2 - - - - - - router2
5        __________________________                   _________________________
6        |                        |                   |                        |
7        |        backbone1       |                   |      backbone2         |
8        |________________________|                   |________________________|
9        / /         |          \ \                   / /         |          \ \
10 l1_up / / l1_down  | l3   l2_up\ \ l2_down   l4_up / / l4_down  | l6   l5_up\ \ l5_down
11      / /           |            \ \               / /           |            \ \
12     host1         host3         host2           host4         host6          host5
13 -->
14   <zone id="AS0" routing="Full">
15     <zone  id="my_cluster1"  routing="Cluster">
16       <router id="router1"/>
17
18       <host id="host1" speed="1Gf"/>
19       <link id="l1_UP" bandwidth="125MBps" latency="100us"/>
20       <link id="l1_DOWN" bandwidth="125MBps" latency="100us"/>
21       <host_link id="host1" up="l1_UP" down="l1_DOWN"/>
22
23       <host id="host2" speed="1Gf"/>
24       <link id="l2" bandwidth="125MBps" latency="100us" sharing_policy="FULLDUPLEX"/>
25       <host_link id="host2" up="l2_UP" down="l2_DOWN"/>
26
27       <host id="host3" speed="1Gf"/>
28       <link id="l3" bandwidth="125MBps" latency="100us"/>
29       <host_link id="host3" up="l3" down="l3"/>
30
31       <backbone id="backbone1" bandwidth="2.25GBps" latency="500us"/>
32     </zone>
33
34     <zone  id="my_cluster2"  routing="Cluster">
35       <router id="router2"/>
36
37       <host id="host4" speed="1Gf"/>
38       <link id="l4_UP" bandwidth="125MBps" latency="100us"/>
39       <link id="l4_DOWN" bandwidth="125MBps" latency="100us"/>
40       <host_link id="host4" up="l4_UP" down="l4_DOWN"/>
41
42       <host id="host5" speed="1Gf"/>
43       <link id="l5" bandwidth="125MBps" latency="100us" sharing_policy="FULLDUPLEX"/>
44       <host_link id="host5" up="l5_UP" down="l5_DOWN"/>
45
46       <host id="host6" speed="1Gf"/>
47       <link id="l6" bandwidth="125MBps" latency="100us"/>
48       <host_link id="host6" up="l6" down="l6"/>
49
50       <backbone id="backbone2" bandwidth="2.25GBps" latency="500us"/>
51     </zone>
52
53     <link id="link1-2" bandwidth="2.25GBps" latency="500us"/>
54
55     <zoneRoute src="my_cluster1" dst="my_cluster2" gw_src="router1" gw_dst="router2">
56       <link_ctn id="link1-2" />
57     </zoneRoute>
58   </zone>
59 </platform>