summaryrefslogtreecommitdiffstats
path: root/ci/odl/01-deploybundle.sh
diff options
context:
space:
mode:
authornarindergupta <narinder.gupta@canonical.com>2015-10-28 23:40:36 -0500
committernarindergupta <narinder.gupta@canonical.com>2015-10-28 23:41:18 -0500
commit6b06703b036951bdf4a9d60bddb1c452668ebf6d (patch)
tree2104d2698a60cf545f0deae17b708fc90e28ec94 /ci/odl/01-deploybundle.sh
parent7a817ea24fa6b9aa90db5e0cfe24d624aac63388 (diff)
modified to do fast deployment of bundle which saves time.
Change-Id: I5c3bd59abb4c46d255031bf538f959fc919a4519
Diffstat (limited to 'ci/odl/01-deploybundle.sh')
-rwxr-xr-xci/odl/01-deploybundle.sh22
1 files changed, 17 insertions, 5 deletions
diff --git a/ci/odl/01-deploybundle.sh b/ci/odl/01-deploybundle.sh
index 3de74fb3..87352666 100755
--- a/ci/odl/01-deploybundle.sh
+++ b/ci/odl/01-deploybundle.sh
@@ -8,7 +8,6 @@ case "$1" in
;;
'ha' )
cp odl/juju-deployer/ovs-odl-ha.yaml ./bundles.yaml
- juju-deployer -d -r 13 -c bundles.yaml openstack-phase1
;;
'tip' )
cp odl/juju-deployer/ovs-odl-tip.yaml ./bundles.yaml
@@ -31,8 +30,21 @@ case "$3" in
esac
echo "... Deployment Started ...."
-
-#case openstack kilo with odl
-juju-deployer -d -r 13 -c bundles.yaml trusty-"$2"
-
+case "$1" in
+ 'nonha' )
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"
+ ;;
+ 'ha' )
+ juju-deployer -vW -d -c bundles.yaml openstack-phase1
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
+ juju-deployer -vW -d -c bundles.yaml openstack-phase3
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"
+ ;;
+ 'tip' )
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"
+ ;;
+ * )
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"
+ ;;
+esac
echo "... Deployment finished ...."