Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update all the XML files
[simgrid.git] / teshsuite / simdag / network / p2p / platform_2p_1switch.xml
index 5472228..3b0beea 100644 (file)
@@ -1,23 +1,25 @@
-<?xml version='1.0'?>\r
-<!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
-<platform_description version="1">\r
-  <cpu name="cpu0" power="1"/>\r
-  <cpu name="cpu1" power="1"/>
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<platform_description version="2">\r
+\r
+\r
+  <host id="cpu0" power="1"/>\r
+  <host id="cpu1" power="1"/>
   
-  <network_link name="switch" bandwidth="2" latency="1" sharing_policy="FATPIPE"/>
-  <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
-  <network_link name="link1" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+  <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
-    <route_element name="link0"/>\r
-    <route_element name="switch"/>
-    <route_element name="link1"/>
+    <link:ctn id="link0"/>\r
+    <link:ctn id="switch"/>
+    <link:ctn id="link1"/>
   </route>\r
   
   <route src="cpu1" dst="cpu0">\r
-    <route_element name="link1"/>\r
-    <route_element name="switch"/>
-    <route_element name="link0"/>
+    <link:ctn id="link1"/>\r
+    <link:ctn id="switch"/>
+    <link:ctn id="link0"/>
   </route>
   \r
 </platform_description>\r