summaryrefslogtreecommitdiffstats
path: root/ci/opencontrail/01-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2015-11-03 19:13:19 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2015-11-03 19:13:19 -0600
commitf9875bf251a96f61b0cb6e1f81a16db50e736e24 (patch)
tree3328a487c1f3a195a74c9cce8337ccfc3fe6e93e /ci/opencontrail/01-deploybundle.sh
parent6b06703b036951bdf4a9d60bddb1c452668ebf6d (diff)
modified as per new bundle of contrail.
Change-Id: I195afcfd7ec81fc4e71027ff8011b447f9d08964
Diffstat (limited to 'ci/opencontrail/01-deploybundle.sh')
-rwxr-xr-xci/opencontrail/01-deploybundle.sh23
1 files changed, 20 insertions, 3 deletions
diff --git a/ci/opencontrail/01-deploybundle.sh b/ci/opencontrail/01-deploybundle.sh
index d008b984..21235cb3 100755
--- a/ci/opencontrail/01-deploybundle.sh
+++ b/ci/opencontrail/01-deploybundle.sh
@@ -9,7 +9,6 @@ case "$1" in
;;
'ha' )
cp opencontrail/juju-deployer/contrail-ha.yaml ./bundles.yaml
- juju-deployer -d -r 13 -c bundles.yaml openstack-phase1
;;
'tip' )
cp opencontrail/juju-deployer/contrail-tip.yaml ./bundles.yaml
@@ -23,11 +22,29 @@ case "$3" in
'orangepod2' )
sed -i -- 's/10.4.1.1/192.168.2.2/g' ./bundles.yaml
;;
+ 'intelpod5' )
+ sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml
+ ;;
+ 'intelpod6' )
+ sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml
+ ;;
esac
echo "... Deployment Started ...."
-
-juju-deployer -d -r 13 -c bundles.yaml trusty-"$2"-contrail
+case "$1" in
+ 'nonha' )
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"-contrail
+ ;;
+ 'ha' )
+ juju-deployer -vW -d -c bundles.yaml openstack-phase1
+ ;;
+ 'tip' )
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"-contrail
+ ;;
+ * )
+ juju-deployer -vW -d -c bundles.yaml trusty-"$2"-contrail
+ ;;
+esac
echo "... Deployment finished ...."