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">
7 <AS id="AS0" routing="Full">
9 <random id="rand_lyon" min="237333000" max="437333000" mean="337333000" std_deviation="100000000"/>
10 <random id="rand_lille" min="137333000" max="250000000" mean="237333000" std_deviation="400000000"/>
12 <set id="Lille" prefix="lille_" suffix="_host" radical="0-5"/>
13 <set id="Lyon" prefix="lyon_" suffix="_host" radical="0-3"/>
14 <foreach set_id="Lyon">
15 <host id="$1" power="$rand(rand_lyon)"/>
16 <link id="$1" bandwidth="3297750" latency="0.000007234"/>
18 <foreach set_id="Lille">
19 <host id="$1" power="$rand(rand_lille)"/>
20 <link id="$1" bandwidth="3297750" latency="0.000007234"/>
23 <route:multi src="Lille" dst="Lille" symmetric="NO">
27 <route:multi src="Lyon" dst="Lyon" symmetric="NO">
31 <route:multi src="Lille" dst="Lyon">