aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tools/run.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-07-26 16:06:35 -0500
committerVictor Morales <victor.morales@intel.com>2017-07-26 16:06:35 -0500
commitdd074806ad51761392a9cca3f1f04fbbebd3de22 (patch)
tree9088768b55bf307875369e7368f56c7e66149424 /bootstrap/vagrant-onap/tools/run.sh
parent8805879b4dc92014381ba55b75955b295944ded6 (diff)
Sync latest changes for vagrant-onap
Given some internal procedures was not possible to submit all the changes. In the meantime, those changes were placed into an non-official project. This change syncronizes the latest changes into the official repository. Issue-id: INT-17 Change-Id: Ia4125f4b70273401e4ed3cc1908d2e2ad7d1c2e9 Signed-off-by: Victor Morales <victor.morales@intel.com>
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