3 # Use same path for run.base.sh
4 RUNSH_DIR=$(dirname $0)
5 RUN_BASE_SH=${RUNSH_DIR}/run.base.sh
8 echo "Please select one of the 3 supported Virtualization technology : \"$0 -virt [ovsdb | opendove | vtn]\""
16 -virt) virtIndex=$i ;;
21 # Virtualization edition select
22 if [ ${virtIndex} -eq 0 ]; then
26 virt=${@:$virtIndex+1:1}
27 if [ "${virt}" == "" ]; then
30 if [ "${virt}" == "ovsdb" ]; then
31 ODL_VIRT_FILTER="opendove|vtn"
32 elif [ "${virt}" == "opendove" ]; then
33 ODL_VIRT_FILTER="ovsdb|vtn"
34 elif [ "${virt}" == "vtn" ]; then
35 ODL_VIRT_FILTER="affinity|opendove|ovsdb|controller.(arphandler|samples)"
41 $RUN_BASE_SH -bundlefilter "org.opendaylight.(${ODL_VIRT_FILTER})" "${@:1:$virtIndex-1}" "${@:virtIndex+2}"