summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tools/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/tools/run.sh')
-rwxr-xr-xbootstrap/vagrant-onap/tools/run.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/tools/run.sh b/bootstrap/vagrant-onap/tools/run.sh
new file mode 100755
index 000000000..e192ba171
--- /dev/null
+++ b/bootstrap/vagrant-onap/tools/run.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+case $1 in
+ "all_in_one" )
+ export DEPLOY_MODE='all-in-one' ;;
+ "dns" | "mr" | "sdc" | "aai" | "mso" | "robot" | "vid" | "sdnc" | "portal" | "dcae" | "policy" | "appc" )
+ export DEPLOY_MODE='individual' ;;
+ "testing" )
+ export DEPLOY_MODE='testing'
+ export TEST_SUITE=${2:-*}
+ export TEST_CASE=${3:-*}
+
+ rm -rf ../opt/
+ rm -rf ~/.m2/;;
+esac
+vagrant destroy -f $1
+vagrant up $1