5 #need to put mutiple cases here where decide this bundle to deploy by default use the odl bundle.
6 # Below parameters are the default and we can according the release
15 opnfvrel=`grep release: deploy.yaml | cut -d ":" -f2`
16 openstack=`grep openstack: deploy.yaml | cut -d ":" -f2`
17 opnfvtype=`grep type: deploy.yaml | cut -d ":" -f2`
18 opnfvlab=`grep lab: deploy.yaml | cut -d ":" -f2`
19 opnfvsdn=`grep sdn: deploy.yaml | cut -d ":" -f2`
22 usage() { echo "Usage: $0 [-s <odl|opencontrail>]
24 [-o <juno|kilo|liberty>]
26 [-r <a|b>]" 1>&2 exit 1; }
28 while getopts ":s:t:o:l:h:r:" opt; do
54 #copy the script which needs to get deployed as part of ofnfv release
56 cp ./$opnfvsdn/01-deploybundle.sh ./01-deploybundle.sh
60 ./01-deploybundle.sh $opnfvtype $openstack $opnfvlab
63 if [ "$#" -eq 0 ]; then
64 echo "This installtion will use deploy.yaml"
68 echo "deploying started"
70 echo "deploying finished"