SimGrid  3.18
Versatile Simulation of Distributed Systems
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  <!-- these props will be attached to the network zone constituting the cluster -->
23  <prop id="bla" value="acme cluster"/>
24  <prop id="Hdd" value="180"/>
25  <prop id="mem" value="42"/>
26  </cluster>
27 
28  <zone id="AS4" routing="Full">
29  <host id="host1" speed="1Gf">
30  <prop id="Hdd" value="180"/>
31  <prop id="mem" value="4"/>
32  </host>
33  <host id="host2" speed="1Gf">
34  <prop id="Hdd" value="120"/>
35  </host>
36 
37  <link id="l1" bandwidth="125MBps" latency="100us">
38  <prop id="type" value="Ethernet"/>
39  </link>
40  <link id="l2" bandwidth="125MBps" latency="100us">
41  <prop id="type" value="ethernet"/>
42  </link>
43 
44  <route src="host1" dst="host2">
45  <link_ctn id="l1"/>
46  <link_ctn id="l2"/>
47  </route>
48  </zone>
49  </zone>
50 </platform>