Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add unit support in xml files [#14422]
[simgrid.git] / teshsuite / simdag / network / p2p / platform_2p_1switch.xml
index e8d16d7..4e1dccd 100644 (file)
@@ -1,27 +1,18 @@
 <?xml version='1.0'?>
- <!DOCTYPE platform SYSTEM "simgrid.dtd">
- <platform version="2">
+ <!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"/>
-   
+   <host id="cpu0" power="1f"/>
+   <host id="cpu1" power="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"/>
+     <link_ctn id="link0"/>
+     <link_ctn id="switch"/>
+     <link_ctn id="link1"/>
    </route>
-   
-   <route src="cpu1" dst="cpu0">
-     <link:ctn id="link1"/>
-     <link:ctn id="switch"/>
-     <link:ctn id="link0"/>
-   </route>
-   
  </AS>
  </platform>