Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't test features that are impossible to get right
[simgrid.git] / examples / platforms / crosstraffic.xml
index ef00680..dedcff8 100644 (file)
@@ -1,16 +1,21 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-<!-- S1 _________ C1
-         link 1
-       10kB, 10ms    -->
-<AS id="1" routing="Full">
-  <host id="S1" speed="1Gf"/>
-  <host id="C1" speed="1Gf"/>
+<platform version="4.1">
+  <!-- S1 _________ C1
+           link 1
+         10kB, 10ms    -->
+       
+  <zone id="1" routing="Full">
+    <host id="S1" speed="1Gf"/>
+    <host id="C1" speed="1Gf"/>
 
-  <link id="1" bandwidth="10kBps" latency="10ms" sharing_policy="FULLDUPLEX"/>
+    <link id="1" bandwidth="10kBps" latency="10ms" sharing_policy="FULLDUPLEX"/>
 
-  <route src="S1" dst="C1" symmetrical="NO"><link_ctn id="1" direction="DOWN"/></route>
-  <route src="C1" dst="S1" symmetrical="NO"><link_ctn id="1" direction="UP"/></route>
-</AS>
+    <route src="S1" dst="C1" symmetrical="NO">
+      <link_ctn id="1" direction="DOWN"/>
+    </route>
+    <route src="C1" dst="S1" symmetrical="NO">
+      <link_ctn id="1" direction="UP"/>
+    </route>
+  </zone>
 </platform>