autorun:small changes in Commander
authorMarius Sandu-Popa <sandupopamarius@gmail.com>
Thu, 6 May 2010 08:04:41 +0000 (11:04 +0300)
committerMarius Sandu-Popa <sandupopamarius@gmail.com>
Thu, 6 May 2010 08:04:56 +0000 (11:04 +0300)
autorun/commander/Commander.py
autorun/xml/nodes.xml
autorun/xml/swarm.xml

index 72360ab..6eecb9e 100644 (file)
@@ -107,7 +107,7 @@ class Commander(Thread):
 
        def startNodeServer(self, node):
                comm = SERVER_TYPE+" "+SERVER_DIR+SERVER_FILE+\
-                               " "+"start " + node. private_address
+                               " start " + node. private_address
                self.sendSSHComm(node.public_address, 
                                                node.username, 
                                                int(node.ssh_port), 
index 4b7b231..b827a01 100644 (file)
            <client id="tribler">
                <base>/home/p2p/p2p-clients/tribler</base>
            </client>
-           <client id="libtorrent">
-               <base>/home/p2p/p2p-clients/libtorrent</base>
+           <client id="hrktorrent">
+               <base>/home/p2p/p2p-clients/hrktorrent</base>
            </client>
            <client id="transmission">
-               <base>/usr/bin</base>
+               <base>/home/p2p/p2p-clients/transmission/cli</base>
            </client>
         </clients>
     </node>
            <client id="tribler">
                <base>/home/p2p/p2p-clients/tribler</base>
            </client>
-           <client id="libtorrent">
-               <base>/home/p2p/p2p-clients/libtorrent</base>
+           <client id="hrktorrent">
+               <base>/home/p2p/p2p-clients/hrktorrent</base>
            </client>
            <client id="transmission">
-               <base>/usr/bin</base>
+               <base>/home/p2p/p2p-clients/transmission/cli</base>
            </client>
         </clients>
     </node>
index 63aeaa4..20323df 100644 (file)
@@ -3,14 +3,14 @@
        <torrent_file>/home/p2p/p2p-meta/so-vm-linux-krypton.tar.gz.torrent</torrent_file>
      <instance id="1">
        <node>1</node>
-       <client>tribler</client>
+       <client>transmission</client>
        <upload_limit>512</upload_limit>
        <download_limit>256</download_limit>
-       <download_dir>/home/p2p/p2p-dld/tribler</download_dir>
-       <log_dir>/home/p2p/p2p-log/tribler</log_dir>
-       <log_file>tribler-himym520.log</log_file>
-       <output_dir>/home/p2p/p2p-log/tribler</output_dir>
-       <output_file>tribler-himym520.out</output_file>
+       <download_dir>/home/p2p/p2p-dld/transmission</download_dir>
+       <log_dir>/home/p2p/p2p-log/transmission</log_dir>
+       <log_file>transmission-himym520.log</log_file>
+       <output_dir>/home/p2p/p2p-log/transmission</output_dir>
+       <output_file>transmission-himym520.out</output_file>
        <actions>
            <action type="start" delay="00:05:00" />
            <action type="stop" delay="00:10:00" />