Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge remote-tracking branch 'origin/master'
[simgrid.git] / examples / platforms / prop.xml
1 <?xml version='1.0'?>
2  <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
3  
4  <!-- This file describe a super simple platform which main interest is
5       to define some properties on hosts, processes and links. 
6       It is used in several regression cases on properties -->
7  
8  <!-- Some properties' name is prefixed by SG_TEST_ only to simplify
9       the test of GRAS on real life: we don't want to display the whole
10       user's environment here, only the ones related to the test.
11       
12       Of course, this restriction is not needed in your own platforms. -->
13  
14  <platform version="3">
15  <AS  id="AS0"  routing="Full">
16    <prop id="filename" value="prop.xml"/>
17    <prop id="date" value="31-08-12"/>
18    <prop id="author" value="pnavarro"/>
19    
20    <AS  id="AS3"  routing="Full">
21            <AS id="AS1" routing="None">
22                <prop id="name" value="AS1"/>
23            </AS>
24            
25            <AS id="AS2" routing="None">
26                <prop id="name" value="AS2"/>
27            </AS>
28    </AS>
29    
30    <AS  id="AS4"  routing="Full">
31            <host id="host1" power="1000000000">
32              <prop id="SG_TEST_Hdd" value="180"/>
33              <prop id="SG_TEST_mem" value="4"/>
34            </host>
35            
36            <host id="host2" power="1000000000">
37              <prop id="SG_TEST_Hdd" value="120"/>
38            </host>
39            
40            <link id="l1" bandwidth="125000000" latency="0.000100">
41              <prop id="type" value="Ethernet"/>
42            </link>
43            
44            <link id="l2" bandwidth="125000000" latency="0.000100">
45              <prop id="type" value="ethernet"/>
46            </link>
47            <route src="host1" dst="host2"><link_ctn id="l1"/><link_ctn id="l2"/></route>
48    </AS>
49  </AS>
50  </platform>