X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fdeploy.sh;h=6005eb1de53626a4343701e405defd384e6c3d27;hb=4cc6cd00d58611154d5d98b4ba86a4d36844507c;hp=9c97b110fd57b28af7f820b84425995e01608ebb;hpb=893766d1fa12d8a3d0b3a793365ffe0222c4b1b4;p=joid.git diff --git a/ci/deploy.sh b/ci/deploy.sh index 9c97b110..6005eb1d 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -10,6 +10,7 @@ opnfvtype=nonha openstack=liberty opnfvlab=default opnfvrel=b +opnfvfeature=odl_l2 read_config() { opnfvrel=`grep release: deploy.yaml | cut -d ":" -f2` @@ -23,9 +24,10 @@ usage() { echo "Usage: $0 [-s ] [-t ] [-o ] [-l ] + [-f ] [-r ]" 1>&2 exit 1; } -while getopts ":s:t:o:l:h:r:" opt; do +while getopts ":s:t:o:l:h:r:f:" opt; do case "${opt}" in s) opnfvsdn=${OPTARG} @@ -42,6 +44,9 @@ while getopts ":s:t:o:l:h:r:" opt; do r) opnfvrel=${OPTARG} ;; + f) + opnfvfeature=${OPTARG} + ;; h) usage ;; @@ -116,7 +121,7 @@ deploy() { ./00-bootstrap.sh #case default: - ./01-deploybundle.sh $opnfvtype $openstack $opnfvlab $opnfvsdn + ./01-deploybundle.sh $opnfvtype $openstack $opnfvlab $opnfvsdn $opnfvfeature } #check whether charms are still executing the code even juju-deployer says installed.