Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
slightly modify the example to check that overwriting storage_type
[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="single_HDD" model="linear_no_lat" 
13                  content="content/storage_content.txt" size="500GiB"
14                  content_type="txt_unix">
15                         <prop id="Bwrite" value="30MBps" />
16                         <prop id="Bread" value="100MBps" />
17                         <prop id="Bconnection" value="150MBps" />
18    </storage_type>
19
20    <storage_type id="single_SSD" model="linear_no_lat"
21                  content="content/storage_content.txt" size="500GiB">
22                         <prop id="Bwrite" value="30MBps" />
23                         <prop id="Bread" value="100MBps" />
24                         <prop id="Bconnection" value="150MBps" />
25                 </storage_type>
26
27                 <storage id="Disk1" typeId="single_HDD"/>
28                 <storage id="Disk2" typeId="single_SSD"/>
29                 <storage id="Disk3" typeId="single_HDD"
30                          content="content/storage_content.txt" 
31                          content_type="txt_unix"/>
32                 <storage id="Disk4" typeId="single_SSD"/>
33
34                 <host id="bob" power="1Gf">
35                         <mount storageId="Disk1" name="/home"/>                 
36                 </host>         
37                 
38                 <host id="alice" power="1Gf">
39                         <mount storageId="Disk2" name="/home"/>
40                 </host>
41
42                 <host id="carl" power="1Gf">            
43                         <mount storageId="Disk3" name="/home"/>         
44                 </host>
45                 
46                 <host id="denise" power="1Gf">
47                         <mount storageId="Disk4" name="/home"/> 
48                 </host>
49
50                 <link id="link1" bandwidth="125MBps" latency="50us" />
51                 <link id="link2" bandwidth="125MBps" latency="50us" />
52                 <link id="link3" bandwidth="125MBps" latency="50us" />
53         
54                 <route src="bob" dst="alice" symmetrical="YES">
55                         <link_ctn id="link1" />
56                         <link_ctn id="link2" />
57                         <link_ctn id="link3" />
58                 </route>        
59
60         </AS>
61 </platform>