Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[Platforms] Added missing attribute in storage.xml
[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   <config>
6     <prop id="path" value="../examples/platforms/"/>
7   </config>
8
9   <AS id="AS0" routing="Full">
10
11     <storage_type id="single_HDD" model="linear_no_lat" 
12                   content="content/storage_content.txt" size="500GiB"
13                   content_type="txt_unix">
14        <model_prop id="Bwrite" value="30MBps" />
15        <model_prop id="Bread" value="100MBps" />
16        <model_prop id="Bconnection" value="120MBps" />
17     </storage_type>
18
19     <storage_type id="single_SSD" model="linear_no_lat" size="500GiB"
20                   content="content/storage_content.txt" content_type="txt_unix">
21        <model_prop id="Bwrite" value="60MBps" />
22        <model_prop id="Bread" value="200MBps" />
23        <model_prop id="Bconnection" value="220MBps" />
24     </storage_type>
25
26     <storage id="Disk1" typeId="single_HDD" attach="bob" />
27     <storage id="Disk2" typeId="single_SSD"
28              content="content/win_storage_content.txt"
29              content_type="txt_windows" attach="alice" />
30     <storage id="Disk3" typeId="single_HDD" attach="carl" />
31     <storage id="Disk4" typeId="single_SSD"
32              content="content/small_content.txt"
33              content_type="txt_unix" attach="denise"/>
34
35     <host id="bob" power="1Gf">
36       <mount storageId="Disk1" name="/home"/>
37     </host>
38
39     <host id="alice" power="1Gf">
40       <mount storageId="Disk2" name="c:"/>
41     </host>
42
43     <host id="carl" power="1Gf">
44       <mount storageId="Disk3" name="/home"/>
45     </host>
46
47     <host id="denise" power="1Gf">
48       <mount storageId="Disk2" name="c:"/>      
49       <mount storageId="Disk4" name="/home"/>   
50     </host>
51
52     <link id="link1" bandwidth="125MBps" latency="50us" />
53     <link id="link2" bandwidth="125MBps" latency="50us" />
54     <link id="link3" bandwidth="125MBps" latency="50us" />
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   </AS>
62 </platform>