]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
neutron-server loads fwaas_driver.ini if it is present in /etc/neutron.
authorThomas Goirand <zigo@debian.org>
Thu, 23 Jun 2016 12:16:54 +0000 (14:16 +0200)
committerThomas Goirand <zigo@debian.org>
Thu, 23 Jun 2016 12:16:54 +0000 (14:16 +0200)
Rewritten-From: 3461c78d08a892d8b40258792001eba7bfb1f047

xenial/debian/changelog
xenial/debian/neutron-server.init.in

index 48440f35b3ac97a4e679bf25e5c8e2b40d9ad8bc..0533fdaf4d959a4f4da88e4c4b86bdea050782e4 100644 (file)
@@ -1,6 +1,7 @@
 neutron (2:9.0.0~b1-2) UNRELEASED; urgency=medium
 
   * Activates qos policies by default.
+  * neutron-server loads fwaas_driver.ini if it is present in /etc/neutron.
 
  -- Thomas Goirand <zigo@debian.org>  Fri, 17 Jun 2016 14:33:59 +0200
 
index ce6b27be5f0bd6b7f5bc9ecd41b46c896f3c9eb2..819f38bd9af9dcbbd51edea8a298a6763012c625 100644 (file)
@@ -40,6 +40,11 @@ else
        DESC="${DESC} with ${NEUTRON_PLUGIN_NAME} plugin"
 fi
 
+# If neutron-fwaas-l3-agent is installed, then we want to activate fwaas
+if [ -r /etc/neutron/fwaas_driver.ini ] ; then
+       DAEMON_ARGS="${DAEMON_ARGS} --config-file=/etc/neutron/fwaas_driver.ini"
+fi
+
 ### Neutron folders creation ###
 mkdir -p /var/lib/neutron/tmp
 chown neutron:neutron /var/lib/neutron/tmp