1 <!-- This file shows how to define 2 sets of hosts, their corresponding links and how you can bind them using the route:multi tag
2 Also it shows how to use the random generator for generating random cpu power
5 <!DOCTYPE platform SYSTEM "simgrid.dtd">
8 <random id="rand_lyon" min="237333000" max="437333000" mean="337333000" std_deviation="100000000"/>
9 <random id="rand_lille" min="137333000" max="250000000" mean="237333000" std_deviation="400000000"/>
11 <set id="Lille" prefix="lille_" suffix="_host" radical="0-5"/>
12 <set id="Lyon" prefix="lyon_" suffix="_host" radical="0-3"/>
13 <foreach set_id="Lyon">
14 <host id="$1" power="$rand(rand_lyon)"/>
15 <link id="$1" bandwidth="3297750" latency="0.000007234"/>
17 <foreach set_id="Lille">
18 <host id="$1" power="$rand(rand_lille)"/>
19 <link id="$1" bandwidth="3297750" latency="0.000007234"/>
22 <route:multi src="Lille" dst="Lille" symmetric="NO">
26 <route:multi src="Lyon" dst="Lyon" symmetric="NO">
30 <route:multi src="Lille" dst="Lyon">