From d6cc43a39fbb79763db0d9de19b5ab0b4af630f7 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 17 Mar 2017 15:20:10 -0400 Subject: Fixes neutron patch to only apply when ODL + FDIO We don't want the neutorn patch which hardcodes router external interface to OVS and adds generic NS linux interface driver to be applied for every scenario. JIRA: APEX-406 Change-Id: I0fd7ed07a5ff58f9e1565831f4f469c11b501385 Signed-off-by: Tim Rozet --- lib/overcloud-deploy-functions.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index 36346d85..de7263f3 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -149,11 +149,18 @@ EOI EOI fi - #Configure routing node for odl_l3-fdio - if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && "${deploy_options_array['dataplane']}" == 'fdio' && "${deploy_options_array['sdn_l3']}" == 'True' ]]; then + # Patch neutron with using OVS external interface for router and add generic linux NS interface driver + if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && "${deploy_options_array['dataplane']}" == 'fdio' ]]; then ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <