diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2015-11-03 19:13:19 -0600 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2015-11-03 19:13:19 -0600 |
commit | f9875bf251a96f61b0cb6e1f81a16db50e736e24 (patch) | |
tree | 3328a487c1f3a195a74c9cce8337ccfc3fe6e93e /ci/opencontrail/01-deploybundle.sh | |
parent | 6b06703b036951bdf4a9d60bddb1c452668ebf6d (diff) |
modified as per new bundle of contrail.
Change-Id: I195afcfd7ec81fc4e71027ff8011b447f9d08964
Diffstat (limited to 'ci/opencontrail/01-deploybundle.sh')
-rwxr-xr-x | ci/opencontrail/01-deploybundle.sh | 23 |
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 ...." |