Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add properties to AS structure (Not work for now) and use SG_PLATF_AS_INITIALIZER
[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    <host id="host1" power="1000000000">
21      <prop id="SG_TEST_Hdd" value="180"/>
22      <prop id="SG_TEST_mem" value="4"/>
23    </host>
24    <host id="host2" power="1000000000">
25      <prop id="SG_TEST_Hdd" value="120"/>
26    </host>
27    <link id="l1" bandwidth="125000000" latency="0.000100">
28      <prop id="type" value="Ethernet"/>
29    </link>
30    <link id="l2" bandwidth="125000000" latency="0.000100">
31      <prop id="type" value="ethernet"/>
32    </link>
33    <route src="host1" dst="host2"><link_ctn id="l1"/><link_ctn id="l2"/></route>
34  </AS>
35  </platform>