Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't test features that are impossible to get right
[simgrid.git] / examples / platforms / prop.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
3 <platform version="4.1">
4   <!-- This file describe a super simple platform which main interest is to define some properties on hosts, 
5        processes and links. It is used in several regression cases on properties -->
6   <zone  id="AS0"  routing="Full">
7     <prop id="filename" value="prop.xml"/>
8     <prop id="date" value="31-08-12"/>
9     <prop id="author" value="pnavarro"/>
10
11     <zone id="AS3"  routing="Full">
12       <zone id="AS1" routing="None">
13         <prop id="name" value="AS1"/>
14       </zone>
15       <zone id="AS2" routing="None">
16         <prop id="name" value="AS2"/>
17      </zone>
18     </zone>
19
20     <cluster id="acme" prefix="node-" suffix=".acme.org" radical="0-4" speed="1Gf"
21              bw="125MBps" lat="50us" bb_bw="2.25GBps"  bb_lat="500us">
22       <prop id="bla" value="acme cluster"/>
23       <prop id="Hdd"  value="180"/>
24       <prop id="mem"  value="42"/>
25     </cluster>
26
27     <zone  id="AS4"  routing="Full">
28       <host id="host1" speed="1Gf">
29         <prop id="Hdd" value="180"/>
30         <prop id="mem" value="4"/>
31       </host>
32       <host id="host2" speed="1Gf">
33         <prop id="Hdd" value="120"/>
34       </host>
35
36       <link id="l1" bandwidth="125MBps" latency="100us">
37         <prop id="type" value="Ethernet"/>
38       </link>
39       <link id="l2" bandwidth="125MBps" latency="100us">
40         <prop id="type" value="ethernet"/>
41       </link>
42
43       <route src="host1" dst="host2">
44         <link_ctn id="l1"/>
45         <link_ctn id="l2"/>
46       </route>
47     </zone>
48   </zone>
49 </platform>