From 88e800cde8e61acb05b60bff5997cb843ec6e133 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 9 Jun 2016 17:24:28 -0400 Subject: Parameterizes ODL version to deploy options Changes include: - Minor syntax fix to dataplane check - Adds 'odl_version' to deploy options - Builds ODL overcloud image with boron rpm included - If user specifies 'boron' as odl_version then, package is upgraded on overcloud image Change-Id: I37436cb8cc4d6cff1fede6c13836f26a4cc57f49 Signed-off-by: Tim Rozet --- ci/deploy.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/deploy.sh b/ci/deploy.sh index 8d82b423..f9a5f0c7 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -804,7 +804,7 @@ function undercloud_prep_overcloud_deploy { fi # Handle different dataplanes - if [ "${deploy_options_array['dataplane']}" != 'ovs']; then + if [ "${deploy_options_array['dataplane']}" != 'ovs' ]; then echo "${red}ovs is the only currently available dataplane. ${deploy_options_array['dataplane']} not implemented${reset}" exit 1 fi @@ -846,6 +846,15 @@ EOI fi + # Set ODL version accordingly + if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && "${deploy_options_array['odl_version']}" == 'boron' ]]; then + ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <