ODL L3 and NOSDN fixes 01/11301/3
authorDan Radez <dradez@redhat.com>
Fri, 11 Mar 2016 14:26:47 +0000 (09:26 -0500)
committerDan Radez <dradez@redhat.com>
Mon, 14 Mar 2016 22:10:08 +0000 (18:10 -0400)
- taking the IP address off of br-ex in ODL L3 deployments
- leaving neutron agent installed for nosdn

These changes are on master but master has diverged from
stable/brahmaputra so they need to be committed directly
to stable/brahmaputra

JIRA: APEX-110, APEX-112

Change-Id: I8dd2a5ef4041200b13e6918d002b242cf04fc2cc
Signed-off-by: Dan Radez <dradez@redhat.com>
build/instack.sh
ci/deploy.sh

index 8c92a05..682d1b2 100755 (executable)
@@ -252,13 +252,12 @@ git checkout stable/liberty
 popd
 tar -czf puppet-aodh.tar.gz aodh
 
-# Add epel, aodh and ceph, remove openstack-neutron-openvswitch
+# Add epel, aodh and ceph
 AODH_PKG="openstack-aodh-api,openstack-aodh-common,openstack-aodh-compat,openstack-aodh-evaluator,openstack-aodh-expirer"
 AODH_PKG+=",openstack-aodh-listener,openstack-aodh-notifier"
 LIBGUESTFS_BACKEND=direct virt-customize \
     --upload puppet-aodh.tar.gz:/etc/puppet/modules/ \
     --run-command "cd /etc/puppet/modules/ && rm -rf aodh && tar xzf puppet-aodh.tar.gz" \
-    --run-command "yum remove -y openstack-neutron-openvswitch" \
     --run-command "echo 'nf_conntrack_proto_sctp' > /etc/modules-load.d/nf_conntrack_proto_sctp.conf" \
     --run-command "if ! rpm -q epel-release > /dev/null; then yum install -y http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; fi" \
     --install https://github.com/michaeltchapman/networking_rpm/raw/master/openstack-neutron-bgpvpn-2015.2-1.el7.centos.noarch.rpm \
index 31cd462..01d8371 100755 (executable)
@@ -663,13 +663,9 @@ function configure_network_environment {
 
   sed -i 's#^.*Controller::Net::SoftwareConfig:.*$#  OS::TripleO::Controller::Net::SoftwareConfig: nics/controller'${nic_ext}'.yaml#' $1
 
-  # check for ODL L3
+  # check for L3 Distributed Routing
   if [ "${deploy_options_array['sdn_l3']}" == 'true' ]; then
-      nic_ext+=_br-ex
-  fi
-
-  if [ "${deploy_options_array['sdn_controller']}" == 'onos' ]; then
-      nic_ext+=_no-public-ip
+      nic_ext+=_br-ex_no-public-ip
   fi
 
   # set nics appropriately