Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / examples / java / app / bittorrent / bittorrent.xml
index 4e19f07..df70dfb 100644 (file)
@@ -1,37 +1,39 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-  <process host="Jacquelin" function="app.bittorrent.Tracker">
+<platform version="4.1">
+
+  <actor host="node-0.acme.org" function="app.bittorrent.Tracker">
     <argument value="3000" />
-  </process>
+  </actor>
 
-  <process host="Boivin" function="app.bittorrent.Peer">
-    <argument value="00000002"/>      <!-- my id -->
-    <argument value="5000" />      <!-- end time -->
-    <argument value="1" />     <!-- indicates if the bittorrent.Peer is a seed at the begining of the simulation -->
-  </process>
-  <process host="Jean_Yves" function="app.bittorrent.Peer">
-    <argument value="00000003"/>         <!-- my id -->
-    <argument value="5000" />         <!-- end time -->
-  </process>
-  <process host="TeX" function="app.bittorrent.Peer">
-    <argument value="00000004"/>   <!-- my id -->
-    <argument value="5000" />   <!-- end time -->
-  </process>
-  <process host="Geoff" function="app.bittorrent.Peer">
-    <argument value="00000005"/>     <!-- my id -->
-    <argument value="5000" />     <!-- end time -->
-  </process>
-  <process host="Disney" function="app.bittorrent.Peer">
-    <argument value="00000006"/>      <!-- my id -->
-    <argument value="5000" />      <!-- end time -->
-  </process>
-  <process host="iRMX" function="app.bittorrent.Peer">
+  <actor host="node-1.acme.org" function="app.bittorrent.Peer">
+    <argument value="00000002"/>    <!-- my id -->
+    <argument value="5000" />    <!-- end time --> 
+    <argument value="1" />       <!-- indicates if the app.bittorrent.Peer is a seed at the beginning of the simulation --> 
+  </actor>
+  <actor host="node-2.acme.org" function="app.bittorrent.Peer">
+    <argument value="00000003"/>    <!-- my id -->
+    <argument value="5000" />    <!-- end time --> 
+  </actor>
+  <actor host="node-3.acme.org" function="app.bittorrent.Peer">
+    <argument value="00000004"/>    <!-- my id -->
+    <argument value="5000" />    <!-- end time --> 
+  </actor>
+  <actor host="node-4.acme.org" function="app.bittorrent.Peer">
+    <argument value="00000005"/>    <!-- my id -->
+    <argument value="5000" />    <!-- end time --> 
+    <argument value="1" />       <!-- indicates if the app.bittorrent.Peer is a seed at the beginning of the simulation --> 
+  </actor>
+  <actor host="node-5.acme.org" function="app.bittorrent.Peer">
+    <argument value="00000006"/>    <!-- my id -->
+    <argument value="5000" />    <!-- end time --> 
+  </actor>
+  <actor host="node-6.acme.org" function="app.bittorrent.Peer">
     <argument value="00000007"/>    <!-- my id -->
-    <argument value="5000" />    <!-- end time -->
-  </process>
-  <process host="McGee" function="app.bittorrent.Peer">
-    <argument value="00000008"/>     <!-- my id -->
-    <argument value="5000" />     <!-- end time -->
-  </process>
+    <argument value="5000" />    <!-- end time --> 
+  </actor>
+  <actor host="node-7.acme.org" function="app.bittorrent.Peer">
+    <argument value="00000008"/>    <!-- my id -->
+    <argument value="5000" />    <!-- end time --> 
+  </actor>
 </platform>