Completing a new flow that will do automated analysis and graph generation for one...
[pingpong.git] / run.sh
1 #!/bin/sh
2
3 # This lists down all the calls to the main_flow.sh script.
4 # Basically, we make one call per one device that we want to analyze.
5 PREFIX=wemo
6 DEVICE=WeMo_Switch
7 DEVICE_MAC=94:10:3e:36:60:09
8 ROUTER=Router
9 ROUTER_MAC=b0:b9:8a:73:69:8f
10 PHONE=Nexus_5_Black
11 PHONE_MAC=64:89:9a:86:a9:7d
12 PATH_LOCAL=/scratch/traffic_measurements/WeMo-February-2018/wemo-local
13 PATH_INTERNET=/scratch/traffic_measurements/WeMo-February-2018/wemo-internet
14 PATH_LOCAL_WLAN_JSON=$PREFIX.wlan1.local.json
15 PATH_LOCAL_ETH_JSON=$PREFIX.eth0.local.json
16 PATH_INTERNET_WLAN_JSON=$PREFIX.wlan1.internet.json
17 PATH_INTERNET_ETH_JSON=$PREFIX.eth0.internet.json
18 PATH_GNUPLOT=./plot_scripts/plot_ts_graph_$PREFIX
19 PATH_DIR_RESULT=result
20 PATH_RESULT_LOCAL_WLAN=$PREFIX\_switch_wlan_local
21 PATH_RESULT_LOCAL_ETH=$PREFIX\_switch_eth_local
22 PATH_RESULT_INTERNET_WLAN=$PREFIX\_switch_wlan_internet
23 PATH_RESULT_INTERNET_ETH=$PREFIX\_switch_eth_internet
24 PATH_RESULT_PHONE_LOCAL_WLAN=$PREFIX\_phone_wlan_local
25 PATH_RESULT_PHONE_INTERNET_WLAN=$PREFIX\_phone_wlan_internet
26
27 ./main_flow.sh $PATH_LOCAL/$PATH_LOCAL_WLAN_JSON $PATH_DIR_RESULT/$PATH_RESULT_LOCAL_WLAN $DEVICE $DEVICE_MAC
28 ./main_flow.sh $PATH_LOCAL/$PATH_LOCAL_ETH_JSON $PATH_DIR_RESULT/$PATH_RESULT_LOCAL_ETH Router b0:b9:8a:73:69:8f
29 ./main_flow.sh $PATH_INTERNET/$PATH_INTERNET_WLAN_JSON $PATH_DIR_RESULT/$PATH_RESULT_INTERNET_WLAN WeMo_Switch 94:10:3e:36:60:09
30 ./main_flow.sh $PATH_INTERNET/$PATH_INTERNET_ETH_JSON $PATH_DIR_RESULT/$PATH_RESULT_INTERNET_ETH Router b0:b9:8a:73:69:8f
31 ./main_flow.sh $PATH_LOCAL/$PATH_LOCAL_WLAN_JSON $PATH_DIR_RESULT/$PATH_RESULT_PHONE_LOCAL_WLAN Nexus_5_Black 64:89:9a:86:a9:7d
32 ./main_flow.sh $PATH_INTERNET/$PATH_INTERNET_WLAN_JSON $PATH_DIR_RESULT/$PATH_RESULT_PHONE_INTERNET_WLAN Nexus_5_Black 64:89:9a:86:a9:7d
33 gnuplot $PATH_GNUPLOT
34