Moved client-specific scripts to separate folders
authorGeorge Milescu <george.milescu@gmail.com>
Fri, 6 Aug 2010 15:57:34 +0000 (17:57 +0200)
committerGeorge Milescu <george.milescu@gmail.com>
Fri, 6 Aug 2010 15:57:34 +0000 (17:57 +0200)
Signed-off-by: George Milescu <george.milescu@gmail.com>
21 files changed:
ConfigFiles/client_script_mappings
ConfigFiles/test-scenario-pre-post-nop.cfg
ControlScripts/clients/hrk/detect_complete_hrk.sh [moved from ControlScripts/detect_complete_hrk.sh with 100% similarity]
ControlScripts/clients/hrk/parse_hrk.sh [moved from ControlScripts/parse_hrk.sh with 100% similarity]
ControlScripts/clients/hrk/start_hrk_leecher.sh [moved from ControlScripts/start_hrk_leecher.sh with 100% similarity]
ControlScripts/clients/hrk/start_hrk_seeder.sh [moved from ControlScripts/start_hrk_seeder.sh with 100% similarity]
ControlScripts/clients/hrk/stop_hrk.sh [moved from ControlScripts/stop_hrk.sh with 100% similarity]
ControlScripts/clients/tribler/detect_complete_tribler_doe.sh [moved from ControlScripts/detect_complete_tribler_doe.sh with 100% similarity]
ControlScripts/clients/tribler/detect_complete_tribler_leecher.sh [moved from ControlScripts/detect_complete_tribler_leecher.sh with 100% similarity]
ControlScripts/clients/tribler/detect_complete_tribler_proxy.sh [moved from ControlScripts/detect_complete_tribler_proxy.sh with 100% similarity]
ControlScripts/clients/tribler/detect_complete_tribler_seeder.sh [moved from ControlScripts/detect_complete_tribler_seeder.sh with 100% similarity]
ControlScripts/clients/tribler/parse_tribler_doe.sh [moved from ControlScripts/parse_tribler_doe.sh with 100% similarity]
ControlScripts/clients/tribler/parse_tribler_leecher.sh [moved from ControlScripts/parse_tribler_leecher.sh with 100% similarity]
ControlScripts/clients/tribler/parse_tribler_proxy.sh [moved from ControlScripts/parse_tribler_proxy.sh with 100% similarity]
ControlScripts/clients/tribler/parse_tribler_seeder.sh [moved from ControlScripts/parse_tribler_seeder.sh with 100% similarity]
ControlScripts/clients/tribler/start_tribler_doe.sh [moved from ControlScripts/start_tribler_doe.sh with 100% similarity]
ControlScripts/clients/tribler/start_tribler_gui.sh [moved from ControlScripts/start_tribler_gui.sh with 100% similarity]
ControlScripts/clients/tribler/start_tribler_leecher.sh [moved from ControlScripts/start_tribler_leecher.sh with 100% similarity]
ControlScripts/clients/tribler/start_tribler_proxy.sh [moved from ControlScripts/start_tribler_proxy.sh with 100% similarity]
ControlScripts/clients/tribler/start_tribler_seeder.sh [moved from ControlScripts/start_tribler_seeder.sh with 100% similarity]
ControlScripts/clients/tribler/stop_tribler.sh [moved from ControlScripts/stop_tribler.sh with 100% similarity]

index 019a022..678cf86 100644 (file)
@@ -17,11 +17,11 @@ start_client()
        DEBUG echo "starting client ..."
        case "${client_type}" in
                "hrktorrent_seeder")
-                       ./start_hrk_seeder.sh &
+                       clients/hrk/start_hrk_seeder.sh &
                        return $!
                        ;;
                "hrktorrent_leecher")
-                       ./start_hrk_leecher.sh &
+                       clients/hrk/start_hrk_leecher.sh &
                        return $!
                        ;;
        esac
@@ -34,10 +34,10 @@ stop_client()
        DEBUG echo "stopping client ..."
        case "${CLIENT_TYPE}" in
                "hrktorrent_seeder")
-                       ./stop_hrk.sh
+                       clients/hrk/stop_hrk.sh
                        ;;
                "hrktorrent_leecher")
-                       ./stop_hrk.sh
+                       clients/hrk/stop_hrk.sh
                        ;;
        esac
 }
@@ -50,10 +50,10 @@ detect_complete_client()
        DEBUG echo "stopping client ..."
        case "${client_type}" in
                "hrktorrent_seeder")
-                       ./detect_complete_hrk.sh ${log_file}
+                       clients/hrk/detect_complete_hrk.sh ${log_file}
                        ;;
                "hrktorrent_leecher")
-                       ./detect_complete_hrk.sh ${log_file}
+                       clients/hrk/detect_complete_hrk.sh ${log_file}
                        ;;
        esac
 }
@@ -68,11 +68,11 @@ parse_client_log()
        case "${client_type}" in
                "hrktorrent_seeder")
                        DEBUG echo "hello hrktorrent_seeder"
-                       ./parse_hrk.sh ${log_folder} ${log_file}
+                       clients/hrk/parse_hrk.sh ${log_folder} ${log_file}
                        ;;
                "hrktorrent_leecher")
                        DEBUG echo "hello hrktorrent_leecher"
-                       ./parse_hrk.sh ${log_folder} ${log_file}
+                       clients/hrk/parse_hrk.sh ${log_folder} ${log_file}
                        ;;
        esac
 }
index 609675c..16421c4 100644 (file)
@@ -5,5 +5,5 @@
 #   * client-wise limitation
 #
 # Hostname                     SSHport         User    RemoteFolder            NetInterface    Download(Mbps)  DownloadBurst(K)        Upload(Mbps)    UploadBurst(K)          PreRunScript            PostRunScript           ClientType              TorrentFile             Periods
-p2p-next-03.grid.pub.ro                10122           p2p     /home/p2p/george        eth0            8               100                     8               100                     pre-run_nop.sh  post-run_nop.sh         hrktorrent_seeder       Data.100M.ct.torrent    (10,60) (60,100) (120,200) (200,230) (250,600)
-p2p-next-03.grid.pub.ro                10222           p2p     /home/p2p/george        eth0            8               100                     8               100                     pre-run_nop.sh  post-run_nop.sh         hrktorrent_leecher      Data.100M.ct.torrent    (10,30) (40,70) (80,110) (130,160) (180,250) (300,600)
+p2p-next-03.grid.pub.ro                10122           p2p     /home/p2p/george        eth0            8               100                     8               100                     pre-run_nop.sh          post-run_nop.sh         hrktorrent_seeder       Data.100M.ct.torrent    (10,60) (60,100) (120,200) (200,230) (250,600)
+p2p-next-03.grid.pub.ro                10222           p2p     /home/p2p/george        eth0            8               100                     8               100                     pre-run_nop.sh          post-run_nop.sh         hrktorrent_leecher      Data.100M.ct.torrent    (10,30) (40,70) (80,110) (130,160) (180,250) (300,600)