Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change location of g5k.xml
[simgrid.git] / examples / platforms / metaxml-random.xml
index 345499d..d0f3aba 100644 (file)
@@ -1,35 +1,37 @@
 <!-- This file shows how to define 2 sets of hosts, their corresponding links and how you can bind them using the route:multi tag 
-     Also it shows how to use the random generator for generating random cpu power
--->
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "surfxml.dtd">
-<platform version="2">
-
-  <random id="rand_lyon" min="237333000" max="437333000" mean="337333000" std_deviation="100000000"/>
-  <random id="rand_lille" min="137333000" max="250000000" mean="237333000" std_deviation="400000000"/>
-
-  <set id="Lille" prefix="lille_" suffix="_host" radical="0-5"/> 
-  <set id="Lyon" prefix="lyon_" suffix="_host" radical="0-3"/> 
-  <foreach set_id="Lyon">
-    <host id="$1" power="$rand(rand_lyon)"/>
-    <link id="$1" bandwidth="3297750" latency="0.000007234"/>
-  </foreach>
-  <foreach set_id="Lille">
-    <host id="$1" power="$rand(rand_lille)"/>
-    <link id="$1" bandwidth="3297750" latency="0.000007234"/>
-  </foreach>
-
-  <route:multi src="Lille" dst="Lille" symmetric="NO">
-    <link:ctn id="$src"/>
-  </route:multi>
-
-  <route:multi src="Lyon" dst="Lyon" symmetric="NO">
-    <link:ctn id="$src"/>
-  </route:multi>
-
-  <route:multi src="Lille" dst="Lyon">
-    <link:ctn id="$src"/>
-    <link:ctn id="$dst"/>
-  </route:multi>
-
-</platform>
+      Also it shows how to use the random generator for generating random cpu power
+ -->
+ <?xml version='1.0'?>
+ <!DOCTYPE platform SYSTEM "simgrid.dtd">
+ <platform version="2">
+ <AS  id="AS0"  routing="Full">
+   <random id="rand_lyon" min="237333000" max="437333000" mean="337333000" std_deviation="100000000"/>
+   <random id="rand_lille" min="137333000" max="250000000" mean="237333000" std_deviation="400000000"/>
+   <set id="Lille" prefix="lille_" suffix="_host" radical="0-5"/> 
+   <set id="Lyon" prefix="lyon_" suffix="_host" radical="0-3"/> 
+   <foreach set_id="Lyon">
+     <host id="$1" power="$rand(rand_lyon)"/>
+     <link id="$1" bandwidth="3297750" latency="0.000007234"/>
+   </foreach>
+   <foreach set_id="Lille">
+     <host id="$1" power="$rand(rand_lille)"/>
+     <link id="$1" bandwidth="3297750" latency="0.000007234"/>
+   </foreach>
+   <route:multi src="Lille" dst="Lille" symmetric="NO">
+     <link:ctn id="$src"/>
+   </route:multi>
+   <route:multi src="Lyon" dst="Lyon" symmetric="NO">
+     <link:ctn id="$src"/>
+   </route:multi>
+   <route:multi src="Lille" dst="Lyon">
+     <link:ctn id="$src"/>
+     <link:ctn id="$dst"/>
+   </route:multi>
+ </AS>
+ </platform>