3 # This is the main script that calls every other script that is needed for the main flow
6 echo "Usage: main_flow.sh <json-file-local> <json-file-internet> <output-file-name>"
7 echo " <json-file-local> = JSON file of local traffic captured on WLAN interfaces"
8 echo " <json-file-internet> = JSON file of internet traffic captured on ETH interfaces"
9 echo " <output-file-name> = base name for the output files"
10 echo " <device-name> = device name"
11 echo " <device-mac-address> = device MAC address"
15 # Check result folder and create one if it does not exist yet
19 python ./base_gexf_generator.py $1 $3_local.gexf
20 python ./base_gexf_generator.py $2 $3_internet.gexf
21 python ./parser/parse_packet_frequency.py $1 $3_local $4 $5
22 python ./parser/parse_packet_frequency.py $2 $3_internet $4 $5
23 gnuplot ./plot_scripts/plot_ts_graph_wemo