Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
41c2bb6cf78e691e34d7da02a146525153f1119d
[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
6 <config>
7         <prop id="path" value="../examples/platforms/"/>
8 </config>
9
10         <AS id="AS0" routing="Full">
11
12                 <storage_type id="samsung" model="RAID5" content="storage_content.txt">
13                         <prop id="Bwrite" value="30" />
14                         <prop id="Bread" value="80" />
15                 </storage_type>
16
17                 <storage_type id="crucial" model="SSD" content="">
18                         <prop id="Bwrite" value="30" />
19                         <prop id="Bread" value="80" />
20                 </storage_type>
21
22                 <storage_type id="wdigital" model="RAID0" content="">
23                         <prop id="Bwrite" value="30" />
24                         <prop id="Bread" value="80" />
25                 </storage_type>
26
27                 <storage id="Disk1" typeId="crucial"/>
28                 <storage id="Disk2" typeId="samsung"/>
29                 <storage id="Disk3" typeId="wdigital"/>
30
31                 <host id="bob" power="1000000000">
32                         <mount id="Disk1" name="C:"/>
33                         <mount id="Disk2" name="D:"/>
34                         <mount id="Disk3" name="E:"/>
35                         <mount id="Disk1" name="F:"/>                   
36                 </host>         
37                 
38                 <host id="alice" power="1000000000">
39                         <mount id="Disk1" name="C:"/>
40                 </host>
41
42                 <storage id="Disk4" typeId="wdigital"/>
43                 <host id="carl" power="1000000000">             
44                         <mount id="Disk4" name="C:"/>
45                         <mount id="Disk1" name="D:"/>                   
46                 </host>
47                 
48                 <host id="denise" power="1000000000">
49                         <mount id="Disk4" name="C:"/>   
50                 </host>
51
52                 <link id="link1" bandwidth="125000000" latency="5E-5" />
53                 <link id="link2" bandwidth="125000000" latency="5E-5" />
54                 <link id="link3" bandwidth="125000000" latency="5E-5" />
55         
56                 <route src="bob" dst="alice" symmetrical="YES">
57                         <link_ctn id="link1" />
58                         <link_ctn id="link2" />
59                         <link_ctn id="link3" />
60                 </route>        
61
62         </AS>
63 </platform>