Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup XML jungle in teshsuite
[simgrid.git] / teshsuite / simdag / network / p2p / platform_2p_1switch.xml
index e9a19cc..bd1e546 100644 (file)
@@ -1,25 +1,14 @@
 <?xml version='1.0'?>
-<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
-<platform version="2">\r
-\r
-\r
-  <host id="cpu0" power="1"/>\r
-  <host id="cpu1" power="1"/>
-  
-  <link id="switch" bandwidth="2" latency="1" sharing_policy="FATPIPE"/>
-  <link id="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
-  <link id="link1" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
-  
-  <route src="cpu0" dst="cpu1">\r
-    <link:ctn id="link0"/>\r
-    <link:ctn id="switch"/>
-    <link:ctn id="link1"/>
-  </route>\r
-  
-  <route src="cpu1" dst="cpu0">\r
-    <link:ctn id="link1"/>\r
-    <link:ctn id="switch"/>
-    <link:ctn id="link0"/>
-  </route>
-  \r
-</platform>\r
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
+<platform version="4">
+  <AS  id="AS0"  routing="Full">
+    <host id="cpu0" speed="1f"/>
+    <host id="cpu1" speed="1f"/>
+
+    <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+    <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+
+    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link1"/></route>
+ </AS>
+ </platform>