-echo "Deploy (f)ull version or (l)ite version [l]:"
-read deploy_type
-[ "$deploy_type" = "" ] && deploy_type=l
-[ "$deploy_type" = "l" ] && RESOURCES_DIR=resources_lite
+if [ "$1" = "" ]
+then
+ echo
+ echo "Deploy one of these versions:"
+ echo
+ echo " (a)dvanced version: includes burst management script and templates for different scenarios. Automatic configuration during start."
+ echo " (b)asic version: 4 types of launcher (client, server, balancer, dummy), lightly configured and managed through SIGURS2 method."
+ echo " (f)unction test client: special client with regexp scheduler script based on splitted traffic logs. Requires a server to perform the tests."
+ echo
+ echo "Input option [b]:"
+ read option
+ [ "$option" = "" ] && option=b
+else
+ option=$1
+fi
+
+case $option in
+ a)
+ echo "Advanced deployment"
+ DEPLOYMENTS_DIR=deployments/advanced
+ DPATH_dflt=$HOME/ADL/advanced
+ ;;
+
+ b)
+ echo "Basic deployment"
+ DEPLOYMENTS_DIR=deployments/basic
+ DPATH_dflt=$HOME/ADL/basic
+ ;;
+
+ f)
+ echo "FT deployment"
+ DEPLOYMENTS_DIR=deployments/ft-client
+ DPATH_dflt=$HOME/ADL/ft-client
+ ;;
+
+ *)
+ _exit "Invalid deployment type '$option' !!"
+ ;;
+esac