Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move MSG and SimDag examples out of the sight of users
[simgrid.git] / examples / deprecated / java / app / bittorrent / bittorrent.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
3 <platform version="4.1">
4
5   <actor host="node-0.simgrid.org" function="app.bittorrent.Tracker">
6     <argument value="3000" />
7   </actor>
8
9   <actor host="node-1.simgrid.org" function="app.bittorrent.Peer">
10     <argument value="00000002"/>    <!-- my id -->
11     <argument value="5000" />    <!-- end time --> 
12     <argument value="1" />       <!-- indicates if the app.bittorrent.Peer is a seed at the beginning of the simulation --> 
13   </actor>
14   <actor host="node-2.simgrid.org" function="app.bittorrent.Peer">
15     <argument value="00000003"/>    <!-- my id -->
16     <argument value="5000" />    <!-- end time --> 
17   </actor>
18   <actor host="node-3.simgrid.org" function="app.bittorrent.Peer">
19     <argument value="00000004"/>    <!-- my id -->
20     <argument value="5000" />    <!-- end time --> 
21   </actor>
22   <actor host="node-4.simgrid.org" function="app.bittorrent.Peer">
23     <argument value="00000005"/>    <!-- my id -->
24     <argument value="5000" />    <!-- end time --> 
25     <argument value="1" />       <!-- indicates if the app.bittorrent.Peer is a seed at the beginning of the simulation --> 
26   </actor>
27   <actor host="node-5.simgrid.org" function="app.bittorrent.Peer">
28     <argument value="00000006"/>    <!-- my id -->
29     <argument value="5000" />    <!-- end time --> 
30   </actor>
31   <actor host="node-6.simgrid.org" function="app.bittorrent.Peer">
32     <argument value="00000007"/>    <!-- my id -->
33     <argument value="5000" />    <!-- end time --> 
34   </actor>
35   <actor host="node-7.simgrid.org" function="app.bittorrent.Peer">
36     <argument value="00000008"/>    <!-- my id -->
37     <argument value="5000" />    <!-- end time --> 
38   </actor>
39 </platform>