summaryrefslogtreecommitdiffstats
path: root/ci/opencontrail/01-deploybundle.sh
diff options
context:
space:
mode:
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 ...."