Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill more duplicate routes in platform files.
[simgrid.git] / teshsuite / simdag / network / mxn / platform_4p_1switch.xml
1 <?xml version='1.0'?>
2  <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
3  <platform version="3">
4  <AS  id="AS0"  routing="Full">
5  
6  
7    <host id="cpu0" power="1"/>
8    <host id="cpu1" power="1"/>
9    <host id="cpu2" power="1"/>
10    <host id="cpu3" power="1"/>
11    
12    <link id="switch" bandwidth="2" latency="1" sharing_policy="FATPIPE"/>
13    <link id="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
14    <link id="link1" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
15    <link id="link2" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
16    <link id="link3" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
17    
18    <route src="cpu0" dst="cpu1">
19      <link_ctn id="link0"/>
20      <link_ctn id="switch"/>
21      <link_ctn id="link1"/>
22    </route>
23  
24    <route src="cpu0" dst="cpu2">
25      <link_ctn id="link0"/>
26      <link_ctn id="switch"/>
27      <link_ctn id="link2"/>
28    </route>
29  
30    <route src="cpu0" dst="cpu3">
31      <link_ctn id="link0"/>
32      <link_ctn id="switch"/>
33      <link_ctn id="link3"/>
34    </route>
35  
36    <route src="cpu1" dst="cpu2">
37      <link_ctn id="link1"/>
38      <link_ctn id="switch"/>
39      <link_ctn id="link2"/>
40    </route>
41  
42    <route src="cpu1" dst="cpu3">
43      <link_ctn id="link1"/>
44      <link_ctn id="switch"/>
45      <link_ctn id="link3"/>
46    </route>
47    
48    <route src="cpu2" dst="cpu3">
49      <link_ctn id="link2"/>
50      <link_ctn id="switch"/>
51      <link_ctn id="link3"/>
52    </route>
53  
54  </AS>
55  </platform>