From: Narinder Gupta Date: Thu, 5 Nov 2015 18:51:01 +0000 (-0600) Subject: modified to fix the typo error. X-Git-Tag: brahmaputra.1.0~146 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F3077%2F1;p=joid.git modified to fix the typo error. Change-Id: I9e48000abdd7b19affe586e731e36a49e66bb8fc Author: Narinder Gupta --- diff --git a/ci/odl/01-deploybundle.sh b/ci/odl/01-deploybundle.sh index 059afbcb..4fdfe808 100755 --- a/ci/odl/01-deploybundle.sh +++ b/ci/odl/01-deploybundle.sh @@ -33,20 +33,25 @@ esac echo "... Deployment Started ...." case "$1" in - 'nonha' ) - juju-deployer -vW -d -c bundles.yaml trusty-"$2" - ;; 'ha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju run --service nodes-api 'sudo ifup eth1' - juju run --service nodes-coompute 'sudo ifup eth1' - 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" + case "$3" in + 'orangepod2' ) + juju run --service nodes-api 'sudo ifup eth3' + juju run --service nodes-compute 'sudo ifup eth5' + ;; + 'intelpod6' ) + juju run --service nodes-api 'sudo ifup eth1' + juju run --service nodes-compute 'sudo ifup eth1' + ;; + 'intelpod5' ) + juju run --service nodes-api 'sudo ifup eth1' + juju run --service nodes-compute 'sudo ifup eth1' + ;; + esac ;; esac + +juju-deployer -vW -d -c bundles.yaml trusty-"$2" + echo "... Deployment finished ...."