Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
7fca614b0a3b15319e4250b8f1d78077772227b9
[simgrid.git] / examples / platforms / storage.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
3
4 <platform version="3">
5         <AS id="AS0" routing="Full">
6
7                 <storage_type id="samsung" model="RAID5" content="content.txt_optionnel">
8                         <prop id="Bwrite" value="30" />
9                         <prop id="Bread" value="80" />
10                 </storage_type>
11
12                 <storage_type id="crucial" model="SSD" content="content.txt">
13                         <prop id="Bwrite" value="30" />
14                         <prop id="Bread" value="80" />
15                 </storage_type>
16
17                 <storage_type id="wdigital" model="RAID0" content="content.txt">
18                         <prop id="Bwrite" value="30" />
19                         <prop id="Bread" value="80" />
20                 </storage_type>
21
22                 <storage id="Disk1" typeId="crucial"/>
23                 <storage id="Disk2" typeId="samsung"/>
24                 <storage id="Disk3" typeId="wdigital"/>
25
26                 <host id="bob" power="1000000000">
27                         <mount id="Disk1" name="C:"/>
28                         <mount id="Disk2" name="D:"/>
29                         <mount id="Disk3" name="E:"/>
30                         <mount id="Disk1" name="F:"/>                   
31                 </host>         
32                 
33                 <host id="alice" power="1000000000">
34                         <mount id="Disk1" name="C:"/>
35                 </host>
36
37                 <storage id="Disk4" typeId="wdigital"/>
38                 <host id="carl" power="1000000000">             
39                         <mount id="Disk4" name="C:"/>
40                         <mount id="Disk1" name="D:"/>                   
41                 </host>
42                 
43                 <host id="denise" power="1000000000">
44                         <mount id="Disk4" name="C:"/>   
45                 </host>
46
47                 <link id="link1" bandwidth="125000000" latency="5E-5" />
48                 <link id="link2" bandwidth="125000000" latency="5E-5" />
49                 <link id="link3" bandwidth="125000000" latency="5E-5" />
50         
51                 <route src="bob" dst="alice" symmetrical="YES">
52                         <link_ctn id="link1" />
53                         <link_ctn id="link2" />
54                         <link_ctn id="link3" />
55                 </route>        
56
57         </AS>
58 </platform>