3 # Use same path for run.base.sh
4 RUNSH_DIR=$(dirname $0)
5 RUN_BASE_SH=${RUNSH_DIR}/run.base.sh
8 echo -e "You must select one of the 3 supported network virtualization technologies:\n\tovsdb | opendove | vtn"
9 echo "Usage: $0 -virt {ovsdb | opendove | vtn} [advanced options]"
10 echo "Advanced options: $($RUN_BASE_SH -help | sed "s;Usage: $RUN_BASE_SH ;;")"
18 -virt) virtIndex=$i ;;
23 # Virtualization edition select
24 if [ ${virtIndex} -eq 0 ]; then
28 virt=${@:$virtIndex+1:1}
29 if [ "${virt}" == "" ]; then
32 if [ "${virt}" == "ovsdb" ]; then
33 ODL_VIRT_FILTER="opendove|vtn"
34 elif [ "${virt}" == "opendove" ]; then
35 ODL_VIRT_FILTER="ovsdb|vtn"
36 elif [ "${virt}" == "vtn" ]; then
37 ODL_VIRT_FILTER="opendove|ovsdb.openstack|controller.(arphandler|samples)"
43 $RUN_BASE_SH -bundlefilter "org.opendaylight.(${ODL_VIRT_FILTER})" "${@:1:$virtIndex-1}" "${@:virtIndex+2}"