From 6b06703b036951bdf4a9d60bddb1c452668ebf6d Mon Sep 17 00:00:00 2001 From: narindergupta Date: Wed, 28 Oct 2015 23:40:36 -0500 Subject: modified to do fast deployment of bundle which saves time. Change-Id: I5c3bd59abb4c46d255031bf538f959fc919a4519 --- ci/odl/01-deploybundle.sh | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'ci/odl/01-deploybundle.sh') 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 ...." -- cgit 1.2.3-korg