Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update all the platforms file with the new s/:/_/ in DTD
[simgrid.git] / examples / msg / gtnets / dogbone-p.xml
index d848840..6136e4d 100644 (file)
@@ -1,65 +1,67 @@
 <?xml version='1.0'?>
-<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
-<!--- 
-  dogbone
--->
-
-<platform_description version="1">
-  <cpu name="S1" power="1000000000"/>
-  <cpu name="C1" power="1000000000"/>
-  <cpu name="S2" power="1000000000"/>
-  <cpu name="C2" power="1000000000"/>
-  <router name="R1"/>
-  <router name="R2"/>
-
-  <network_link name="1" bandwidth="100000000" latency="0.01"/>
-  <network_link name="2" bandwidth="100000" latency="0.02"/>
-  <network_link name="3" bandwidth="100000000" latency="0.01"/>
-  <network_link name="4" bandwidth="100000000" latency="0.01"/>
-  <network_link name="5" bandwidth="100000000" latency="0.05"/>
-
-
-  <route src="S1" dst="C1">
-     <route_element name="1"/>
-     <route_element name="2"/>
-     <route_element name="3"/>
-  </route>
-
-  <route src="S2" dst="C2">
-     <route_element name="4"/>
-     <route_element name="2"/>
-     <route_element name="5"/>
-  </route>
-
-  <route src="S1" dst="C2">
-     <route_element name="1"/>
-     <route_element name="2"/>
-     <route_element name="5"/>
-  </route>
-
-  <route src="S2" dst="C1">
-     <route_element name="4"/>
-     <route_element name="2"/>
-     <route_element name="3"/>
-  </route>
-
-  <route src="S1" dst="R1">
-     <route_element name="1"/>
-  </route>
-
-  <route src="R1" dst="R2">
-     <route_element name="2"/>
-  </route>
-
-  <route src="R2" dst="C1">
-     <route_element name="3"/>
-  </route>
-
-  <route src="S2" dst="R1">
-     <route_element name="4"/>
-  </route>
-
-  <route src="R2" dst="C2">
-     <route_element name="5"/>
-  </route>
-</platform_description>
+ <!DOCTYPE platform SYSTEM "simgrid.dtd">
+ <platform version="2"> 
+ <AS  id="AS0"  routing="Full">
+ <!---  dogbone
+ -->
+   <host id="S1" power="1000000000"/>
+   <host id="C1" power="1000000000"/>
+   <host id="S2" power="1000000000"/>
+   <host id="C2" power="1000000000"/>
+   <router id="R1"/>
+   <router id="R2"/>
+   <link id="1" bandwidth="100000000" latency="0.01"/>
+   <link id="2" bandwidth="100000000" latency="0.01"/>
+   <link id="3" bandwidth="100000000" latency="0.01"/>
+   <link id="4" bandwidth="100000000" latency="0.01"/>
+   <link id="5" bandwidth="100000000" latency="0.01"/>
+   <route src="S1" dst="C1">
+      <link_ctn id="1"/>
+      <link_ctn id="2"/>
+      <link_ctn id="3"/>
+   </route>
+   <route src="S2" dst="C2">
+      <link_ctn id="4"/>
+      <link_ctn id="2"/>
+      <link_ctn id="5"/>
+   </route>
+   <route src="S1" dst="C2">
+      <link_ctn id="1"/>
+      <link_ctn id="2"/>
+      <link_ctn id="5"/>
+   </route>
+   <route src="S2" dst="C1">
+      <link_ctn id="4"/>
+      <link_ctn id="2"/>
+      <link_ctn id="3"/>
+   </route>
+   <route src="S1" dst="R1">
+      <link_ctn id="1"/>
+   </route>
+   <route src="R1" dst="R2">
+      <link_ctn id="2"/>
+   </route>
+   <route src="R2" dst="C1">
+      <link_ctn id="3"/>
+   </route>
+   <route src="S2" dst="R1">
+      <link_ctn id="4"/>
+   </route>
+   <route src="R2" dst="C2">
+      <link_ctn id="5"/>
+   </route>
+ </AS>
+ </platform>