cinder/cinder/config
Kendall Nelson 63600a34fb Dynamically Pull Out Option Sections
Previously in the generation of the opts.py file, the option groups
were hard coded. Now, they are pulled out as the lines are parsed.
If a group doesn't already exist in the dictionary it gets added and
then the options are added to the section. If the group already exists,
the options are added to the proper section as you would expect, and if
the options being registered don't have a group, they are added to the
default section.

This patch also moves the check for a non-zero exit code from
oslo-config-generator to the right location in the file.  This
logic had been put too late in the file and was not catching
oslo-config-generator failures as it should have been.

Change-Id: I59c8067e8091d8bb212e3609f3a174ddc287707e
2015-12-05 05:23:13 -06:00
..
cinder-config-generator.conf Fix typo in cinder-config-generator.conf 2015-09-29 15:30:58 +02:00
generate_cinder_opts.py Dynamically Pull Out Option Sections 2015-12-05 05:23:13 -06:00