Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup the text files around the actions; tesh files should follow soon
[simgrid.git] / examples / msg / actions / homogeneous_3_hosts.xml
index 6484e1e..5231b36 100644 (file)
@@ -2,34 +2,20 @@
  <!DOCTYPE platform SYSTEM "simgrid.dtd">
  <platform version="2">
  <AS  id="AS0"  routing="Full">
-   <host id="Tremblay" power="1e7"/>
-   <host id="Jupiter" power="1e7"/>
-   <host id="Fafard" power="1e7"/>
+   <host id="host0" power="1e7"/>
+   <host id="host1" power="1e7"/>
+   <host id="host2" power="1e7"/>
    <link id="0" bandwidth="1e9" latency="5e-4"/>
    <link id="1" bandwidth="1e9" latency="5e-4"/>
    <link id="2" bandwidth="1e9" latency="5e-4"/>
    
    <link id="loopback" bandwidth="498000000" latency="0.000015" sharing_policy="FATPIPE"/>
-   <route src="Tremblay" dst="Tremblay"><link:ctn id="loopback"/></route>
-   <route src="Jupiter" dst="Jupiter"><link:ctn id="loopback"/></route>
-   <route src="Fafard" dst="Fafard"><link:ctn id="loopback"/></route>
-   <route src="Tremblay" dst="Jupiter">
-     <link:ctn id="0"/>
-   </route>
-   <route src="Tremblay" dst="Fafard">
-     <link:ctn id="1"/>
-   </route>
-   <route src="Jupiter" dst="Tremblay">
-     <link:ctn id="0"/>
-   </route>
-   <route src="Jupiter" dst="Fafard">
-     <link:ctn id="2"/>
-   </route>
-   <route src="Fafard" dst="Tremblay">
-     <link:ctn id="1"/>
-   </route>
-   <route src="Fafard" dst="Jupiter">
-     <link:ctn id="2"/>
-   </route>
+   <route src="host0" dst="host0"><link_ctn id="loopback"/></route>
+   <route src="host1" dst="host1"><link_ctn id="loopback"/></route>
+   <route src="host2" dst="host2"><link_ctn id="loopback"/></route>
+   
+   <route src="host0" dst="host1"><link_ctn id="0"/></route>
+   <route src="host0" dst="host2"><link_ctn id="1"/></route>
+   <route src="host1" dst="host2"><link_ctn id="2"/></route>
  </AS>
  </platform>