Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First step to take care of constraint into storage model
[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="100000000" />
15                 </storage_type>
16
17                 <storage_type id="crucial" model="SSD" content="storage_content.txt">
18                         <prop id="Bwrite" value="80" />
19                         <prop id="Bread" value="100000000" />
20                 </storage_type>
21
22                 <storage_type id="wdigital" model="RAID0" content="storage_content.txt">
23                         <prop id="Bwrite" value="60" />
24                         <prop id="Bread" value="100000000" />
25                 </storage_type>
26
27                 <storage id="Disk1" typeId="crucial"/>
28                 <storage id="Disk2" typeId="samsung"/>
29                 <storage id="Disk3" typeId="wdigital"/>
30                 <storage id="Disk4" typeId="wdigital"/>
31
32                 <host id="bob" power="1000000000">
33                         <mount id="Disk1" name="C:"/>                   
34                 </host>         
35                 
36                 <host id="alice" power="1000000000">
37                         <mount id="Disk2" name="C:"/>
38                 </host>
39
40                 <host id="carl" power="1000000000">             
41                         <mount id="Disk3" name="C:"/>           
42                 </host>
43                 
44                 <host id="denise" power="1000000000">
45                         <mount id="Disk4" name="C:"/>   
46                 </host>
47
48                 <link id="link1" bandwidth="125000000" latency="5E-5" />
49                 <link id="link2" bandwidth="125000000" latency="5E-5" />
50                 <link id="link3" bandwidth="125000000" latency="5E-5" />
51         
52                 <route src="bob" dst="alice" symmetrical="YES">
53                         <link_ctn id="link1" />
54                         <link_ctn id="link2" />
55                         <link_ctn id="link3" />
56                 </route>        
57
58         </AS>
59 </platform>