Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a description of the scenario
[simgrid.git] / teshsuite / simdag / network / p2p / platform_2p_1switch.xml
index 5472228..a722639 100644 (file)
@@ -1,23 +1,21 @@
-<?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"/>
-  
-  <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"/>
-  
-  <route src="cpu0" dst="cpu1">\r
-    <route_element name="link0"/>\r
-    <route_element name="switch"/>
-    <route_element name="link1"/>
-  </route>\r
-  
-  <route src="cpu1" dst="cpu0">\r
-    <route_element name="link1"/>\r
-    <route_element name="switch"/>
-    <route_element name="link0"/>
-  </route>
-  \r
-</platform_description>\r
+<?xml version='1.0'?>
+ <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+ <platform version="3">
+ <AS  id="AS0"  routing="Full">
+   <host id="cpu0" power="1"/>
+   <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">
+     <link_ctn id="link0"/>
+     <link_ctn id="switch"/>
+     <link_ctn id="link1"/>
+   </route>
+   
+ </AS>
+ </platform>