;;
esac
+case "$5" in
+ 'ipv6' )
+ sed -i -- 's/#prefer-ipv6: true/prefer-ipv6: true/g' ./bundles.yaml
+ ;;
+esac
+
echo "... Deployment Started ...."
case "$1" in
'nonha' )
openstack=liberty
opnfvlab=default
opnfvrel=b
+opnfvfeature=odl_l2
read_config() {
opnfvrel=`grep release: deploy.yaml | cut -d ":" -f2`
[-t <nonha|ha|tip>]
[-o <juno|liberty>]
[-l <default|intelpod5>]
+ [-f <ipv6|l2|l3|dvr>]
[-r <a|b>]" 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}
r)
opnfvrel=${OPTARG}
;;
+ f)
+ opnfvfeature=${OPTARG}
+ ;;
h)
usage
;;
./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.