]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Get rid of ConfigParser code in ProviderConfiguration
authorarmando-migliaccio <armamig@gmail.com>
Fri, 18 Sep 2015 19:21:08 +0000 (12:21 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Mon, 21 Sep 2015 17:55:56 +0000 (10:55 -0700)
commit522b278963701bd8cc6f05bf7a4212bd4aad0794
tree71a44c88b327b298edf27250f537086c61e17ffb
parente95904060ae15badd3014af530b8d4747a7ee4b9
Get rid of ConfigParser code in ProviderConfiguration

We may be unable to get rid of this code, but at least we can
make it slimmer and more oslo_config friendly.

This patch also fixes an issue where plain ConfigParser cannot
handle config options with the same name under same section.

Related-bug: #1492069

Change-Id: I596613eb7b2fc3e894a3c1cc7b7cb24d7137cbc5
neutron/services/provider_configuration.py
neutron/tests/etc/neutron_test.conf [new file with mode: 0644]
neutron/tests/unit/services/test_provider_configuration.py