d4545f009f
Release notes 1- Cloud server processing was simplified in the initial version, it is handled via cloudsim components now. 2- Cloud server manager, edge server manager, mobile device manager and vm allocation policy are used as abstract class in factory pattern to allow developers to use different business logic without modifying EdgeCloudSim source code. 3- The task and place types are no longer defined as enumeration. They are used as integer value in order to manipulate more place type without modifying enum variable. 4- Two sample applications (one of them is simple and the other one extended application) are added along with the corresponding matlab files to plot statistics. 5- Cloud server properties are added to the simulation settings file 6- New log items are added to simulation result files 7- Code refactoring is applied including the modification of comments
19 lines
948 B
Bash
Executable File
19 lines
948 B
Bash
Executable File
#!/bin/sh
|
|
|
|
script_root_path="$(dirname "$(readlink -f "$0")")"
|
|
simulation_out_folder=$1
|
|
scenario_name=$2
|
|
edge_devices_file=$3
|
|
applications_file=$4
|
|
iteration_number=$5
|
|
|
|
scenario_out_folder=${simulation_out_folder}/${scenario_name}/ite${iteration_number}
|
|
scenario_conf_file=${script_root_path}/config/${scenario_name}.properties
|
|
scenario_edge_devices_file=${script_root_path}/config/${edge_devices_file}
|
|
scenario_applications_file=${script_root_path}/config/${applications_file}
|
|
|
|
mkdir -p $scenario_out_folder
|
|
java -classpath '../../bin:../../lib/cloudsim-4.0.jar:../../lib/commons-math3-3.6.1.jar:../../lib/colt.jar' edu.boun.edgecloudsim.applications.sample_app2.MainApp $scenario_conf_file $scenario_edge_devices_file $scenario_applications_file $scenario_out_folder $iteration_number > ${scenario_out_folder}.log
|
|
tar -czf ${scenario_out_folder}.tar.gz -C $simulation_out_folder/${scenario_name} ite${iteration_number}
|
|
rm -rf $scenario_out_folder
|