]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make sure service providers can be loaded correctly
authorarmando-migliaccio <armamig@gmail.com>
Thu, 3 Sep 2015 17:29:12 +0000 (10:29 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Thu, 3 Sep 2015 17:42:50 +0000 (10:42 -0700)
commitf347939fd6c7b5a9e93af2007a0c01d00f29dc2b
tree7dc1780b0222c53fcd4d01219b318de5bf707caf
parent3ce9473bab1c054aa027ca9f84e8a2586e297958
Make sure service providers can be loaded correctly

This patch fixes a regression where, if neutron was loaded using
--config-dir, the service_providers option was no longer available.

We bring the logic back (removed by 61121c5f2af), alongside the ability
to load the option auto-magically. This is especially required for DevStack
deployments as of today, because neutron-server is only loaded by passing
--config-file (...)neutron.conf and --config-file (...)ml2_conf.ini

Change-Id: I9bfaed9e19a5506e27795a0b7ad47f4c31fefa40
Closes-bug: #1490990
neutron/services/provider_configuration.py